summaryrefslogtreecommitdiff
path: root/user/net-snmp/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/net-snmp/fix-includes.patch')
-rw-r--r--user/net-snmp/fix-includes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/net-snmp/fix-includes.patch b/user/net-snmp/fix-includes.patch
new file mode 100644
index 000000000..fa1f181ba
--- /dev/null
+++ b/user/net-snmp/fix-includes.patch
@@ -0,0 +1,10 @@
+--- net-snmp-5.7.2/agent/mibgroup/util_funcs/get_pid_from_inode.c.orig
++++ net-snmp-5.7.2/agent/mibgroup/util_funcs/get_pid_from_inode.c
+@@ -4,6 +4,7 @@
+
+ #include <net-snmp/output_api.h>
+
++#include <limits.h>
+ #include <ctype.h>
+ #include <stdio.h>
+ #if HAVE_STDLIB_H