net-snmp/net-snmp-5.4.2_fix_dell_patches.patch

25 lines
943 B
Diff

Index: agent/mibgroup/etherlike-mib/dot3StatsTable_data_access.c
===================================================================
--- agent/mibgroup/etherlike-mib/dot3StatsTable_data_access.c.orig 2008-09-11 23:02:50.000000000 +0200
+++ agent/mibgroup/etherlike-mib/dot3StatsTable_data_access.c 2008-09-11 23:34:29.252291547 +0200
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <string.h>
#include <net/if.h>
+#include <sys/ioctl.h>
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
Index: agent/mibgroup/rmon-mib/etherStatsTable_data_access.c
===================================================================
--- agent/mibgroup/rmon-mib/etherStatsTable_data_access.c.orig 2008-09-11 23:02:50.000000000 +0200
+++ agent/mibgroup/rmon-mib/etherStatsTable_data_access.c 2008-09-11 23:53:05.771791103 +0200
@@ -4,6 +4,7 @@
*
* $Id:$
*/
+#include <sys/ioctl.h>
/*
* standard Net-SNMP includes
*/