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