aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-callback.c')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-callback.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-callback.c b/net-mgmt/net-snmp-devel/files/patch-callback.c
new file mode 100644
index 000000000000..840d12c0d881
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-callback.c
@@ -0,0 +1,12 @@
+--- snmplib/callback.c.orig Tue Jan 25 10:19:39 2005
++++ snmplib/callback.c Tue Jan 25 10:19:53 2005
+@@ -34,6 +34,9 @@
+ #include <strings.h>
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif