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