1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-mgmt/net-snmp/files/patch-scapi.c
Jun Kuriyama a7f5634511 - 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).
2005-01-25 23:49:30 +00:00

13 lines
246 B
C

--- snmplib/scapi.c.orig Tue Jan 25 10:18:44 2005
+++ snmplib/scapi.c Tue Jan 25 10:19:01 2005
@@ -46,6 +46,9 @@
#include <netinet/in.h>
#endif
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#if HAVE_DMALLOC_H
#include <dmalloc.h>
#endif