aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel/files/patch-mib.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-mib.c')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-mib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-mib.c b/net-mgmt/net-snmp-devel/files/patch-mib.c
new file mode 100644
index 00000000000..af73abff410
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-mib.c
@@ -0,0 +1,12 @@
+--- snmplib/mib.c.orig Tue Jan 25 10:01:11 2005
++++ snmplib/mib.c Tue Jan 25 10:02:02 2005
+@@ -75,6 +75,9 @@
+ #include <winsock.h>
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif