Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | From 7136d593ba96b64537069637c328bc65e1b66b2d Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 22 Jul 2016 18:34:39 +0000 |
| 4 | Subject: [PATCH] get_pid_from_inode: Include limit.h |
| 5 | |
| 6 | PATH_MAX and NAME_MAX are required by this file |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | agent/mibgroup/util_funcs/get_pid_from_inode.c | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_from_inode.c |
| 16 | index 8e157ae..a494ec7 100644 |
| 17 | --- a/agent/mibgroup/util_funcs/get_pid_from_inode.c |
| 18 | +++ b/agent/mibgroup/util_funcs/get_pid_from_inode.c |
| 19 | @@ -5,6 +5,7 @@ |
| 20 | #include <net-snmp/output_api.h> |
| 21 | |
| 22 | #include <ctype.h> |
| 23 | +#include <limits.h> |
| 24 | #include <stdio.h> |
| 25 | #if HAVE_STDLIB_H |
| 26 | #include <stdlib.h> |
| 27 | -- |
| 28 | 1.8.3.1 |
| 29 | |