1From 4b6c957372314562bf7b9117103e3a08643eb7b8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 Mar 2017 17:47:28 -0700
4Subject: [PATCH] Include limits.h for PATH_MAX definition
5
6Fixes
7
8error: use of undeclared identifier 'PATH_MAX'
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 memstat.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/memstat.c b/memstat.c
16index 5039fb0..3ff6ee4 100644
17--- a/memstat.c
18+++ b/memstat.c
19@@ -19,6 +19,7 @@
20 #include <unistd.h>
21 #include <getopt.h>
22 #include <errno.h>
23+#include <limits.h>
24
25 /* blacklist devices that just map physical memory */
26 char *blacklist[] = {
27--
282.12.0
29
30