aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-default_store.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp/files/patch-default_store.c')
-rw-r--r--net-mgmt/net-snmp/files/patch-default_store.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/files/patch-default_store.c b/net-mgmt/net-snmp/files/patch-default_store.c
new file mode 100644
index 000000000000..076ecec1431e
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-default_store.c
@@ -0,0 +1,12 @@
+--- snmplib/default_store.c.orig Tue Jan 25 10:20:31 2005
++++ snmplib/default_store.c Tue Jan 25 10:20:47 2005
+@@ -145,6 +145,9 @@
+ #include <winsock.h>
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif