Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 98c6edba4835b515d933542411d80879327eee16 Mon Sep 17 00:00:00 2001 |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 8 | Upstream-Status: Pending |
| 9 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | |
| 12 | --- |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 13 | agent/mibgroup/util_funcs/get_pid_from_inode.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_from_inode.c |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 17 | index aee907d..7abaec2 100644 |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 18 | --- a/agent/mibgroup/util_funcs/get_pid_from_inode.c |
| 19 | +++ b/agent/mibgroup/util_funcs/get_pid_from_inode.c |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 20 | @@ -6,6 +6,7 @@ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 21 | #include <net-snmp/output_api.h> |
| 22 | |
| 23 | #include <ctype.h> |
| 24 | +#include <limits.h> |
| 25 | #include <stdio.h> |
| 26 | #if HAVE_STDLIB_H |
| 27 | #include <stdlib.h> |