summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h b/net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h
new file mode 100644
index 000000000000..cfb1dd29e981
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h
@@ -0,0 +1,13 @@
+--- include/net-snmp/net-snmp-includes.h.orig Mon Jan 24 08:24:47 2005
++++ include/net-snmp/net-snmp-includes.h Mon Jan 24 08:25:11 2005
+@@ -49,6 +49,10 @@
+ # endif
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ /*
+ * Must be right after system headers, but before library code for best usage
+ */