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