aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp4/files/patch-auto_nlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp4/files/patch-auto_nlist.c')
-rw-r--r--net-mgmt/net-snmp4/files/patch-auto_nlist.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp4/files/patch-auto_nlist.c b/net-mgmt/net-snmp4/files/patch-auto_nlist.c
new file mode 100644
index 000000000000..5a2885b45cf3
--- /dev/null
+++ b/net-mgmt/net-snmp4/files/patch-auto_nlist.c
@@ -0,0 +1,18 @@
+--- agent/auto_nlist.c.orig Thu Feb 7 20:42:03 2002
++++ agent/auto_nlist.c Sun Nov 17 00:40:52 2002
+@@ -31,6 +31,15 @@
+ #endif
+ #endif
+
++#if HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000)
++#include <sys/types.h>
++#include <sys/time.h>
++#endif
++
+ #include "auto_nlist.h"
+ #include "autonlist.h"
+ #include "kernel.h"