1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net-mgmt/net-snmp/files/patch-snmp_vars.c
Sylvio Cesar Teixeira a63158257c - Added patch files to fix problem in build of FreeBSD-9.x and problem with "cannot find module" (SNMPv2-SMI) noise
PR:		ports/158714
		ports/159252
Submitted by:	Garrett Cooper<yanegomi@gmail.com>
		Tacid <tacid@tacid.kiev.ua>
2011-07-28 12:41:50 +00:00

13 lines
289 B
C

--- ./agent/snmp_vars.c.orig 2011-07-07 15:37:08.000000000 -0700
+++ agent/snmp_vars.c 2011-07-07 15:37:14.000000000 -0700
@@ -62,6 +62,9 @@
*/
#include <net-snmp/net-snmp-config.h>
+#if HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#if HAVE_STRING_H
#include <string.h>
#endif