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--- 12Upstream-Status: Pending 13 14 memstat.c | 1 + 15 1 file changed, 1 insertion(+) 16 17diff --git a/memstat.c b/memstat.c 18index 5039fb0..3ff6ee4 100644 19--- a/memstat.c 20+++ b/memstat.c 21@@ -19,6 +19,7 @@ 22 #include <unistd.h> 23 #include <getopt.h> 24 #include <errno.h> 25+#include <limits.h> 26 27 /* blacklist devices that just map physical memory */ 28 char *blacklist[] = { 29-- 302.12.0 31 32