net-snmp/net-snmp-5.4-if_addr.patch
2006-12-07 11:50:05 +00:00

13 lines
451 B
Diff

--- net-snmp-5.4/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.old 2006-09-15 02:48:40.000000000 +0200
+++ net-snmp-5.4/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c 2006-12-07 12:35:27.000000000 +0100
@@ -19,7 +19,8 @@
#if defined (NETSNMP_ENABLE_IPV6)
#include <linux/types.h>
#include <asm/types.h>
-#include <linux/rtnetlink.h>
+/* #include <linux/rtnetlink.h> */
+#include <linux/if_addr.h>
#endif
#include "ipaddress_ioctl.h"