summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-01-25 23:49:30 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-01-25 23:49:30 +0000
commita7f56345112d5666e5a236c54af31edcac9c1aa0 (patch)
tree319ec09bd43c9aa0b15993f393a4f9e2e0dfb6cb /net-mgmt/net-snmp-devel/files/patch-net-snmp-includes.h
parentThere is a new tarball out there called 1.2.0.9-1, which is incomplete (diff)
- Update to 5.2.1.
- Add a patch to fix memory leak (SF bugs #1103644). - Add WITH_DMALLOC knob (with a lot of patches to fix #include order).
Notes
Notes: svn path=/head/; revision=127345
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
+ */