Blob Blame History Raw
From 1957a322c9932e1a1d2ca1fd37ce4b335ceb7113 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Tue, 24 Mar 2009 15:40:54 -0700
Subject: [PATCH] Fix headers needed for gre

Need to get right headers or build breaks.
---
 ip/link_gre.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ip/link_gre.c b/ip/link_gre.c
index 9109312..9f8bde6 100644
--- iproute2-2.6.29/ip/link_gre.c.old
+++ iproute2-2.6.29/ip/link_gre.c
@@ -12,11 +12,12 @@
 
 #include <string.h>
 #include <net/if.h>
-#include <linux/if_tunnel.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 
+#include <linux/ip.h>
+#include <linux/if_tunnel.h>
 #include "rt_names.h"
 #include "utils.h"
 #include "ip_common.h"
-- 
1.6.0.6