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