]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- fix for net-snmp compilation with userspace kernel headers
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 21 Dec 2003 19:14:56 +0000 (19:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-kernel_headers.patch -> 1.1

net-snmp-kernel_headers.patch [new file with mode: 0644]

diff --git a/net-snmp-kernel_headers.patch b/net-snmp-kernel_headers.patch
new file mode 100644 (file)
index 0000000..0ee0c1a
--- /dev/null
@@ -0,0 +1,18 @@
+diff -durN -x '*~' net-snmp-5.1.orig/agent/mibgroup/tunnel/tunnel.c net-snmp-5.1/agent/mibgroup/tunnel/tunnel.c
+--- net-snmp-5.1.orig/agent/mibgroup/tunnel/tunnel.c   2002-10-02 19:59:07.000000000 +0200
++++ net-snmp-5.1/agent/mibgroup/tunnel/tunnel.c        2004-12-21 16:41:08.301032640 +0100
+@@ -53,11 +53,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+-#include <linux/if.h>
+-#include <linux/ip.h>
++#include <net/if.h>
++#include <netinet/ip.h>
+ #include <linux/sockios.h>
+ #include <linux/if_tunnel.h>
+-#include <linux/if_arp.h>
++#include <net/if_arp.h>
+ #include <net-snmp/net-snmp-config.h>
+ #include <net-snmp/net-snmp-includes.h>
This page took 0.037234 seconds and 4 git commands to generate.