--- a/agent/mibgroup/util_funcs/get_pid_from_inode.c
+++ b/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