aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53/files/patch-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp53/files/patch-parse.c')
-rw-r--r--net-mgmt/net-snmp53/files/patch-parse.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp53/files/patch-parse.c b/net-mgmt/net-snmp53/files/patch-parse.c
new file mode 100644
index 000000000000..63eb1e023f19
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-parse.c
@@ -0,0 +1,12 @@
+--- snmplib/parse.c.orig Tue Jan 25 10:04:35 2005
++++ snmplib/parse.c Tue Jan 25 10:05:02 2005
+@@ -106,6 +106,9 @@
+ #if defined(HAVE_REGEX_H) && defined(HAVE_REGCOMP)
+ #include <regex.h>
+ #endif
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif