xref: /OK3568_Linux_fs/buildroot/package/memstat/0001-PATH_MAX.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Add missing #include for PATH_MAX
2
3Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
4
5--- memstat-0.8.org/memstat.c	2009-06-08 14:38:05.000000000 +0200
6+++ memstat-0.8/memstat.c	2014-09-12 03:55:43.096035374 +0200
7@@ -19,6 +19,7 @@
8 #include <unistd.h>
9 #include <getopt.h>
10 #include <errno.h>
11+#include <limits.h>
12
13 /* blacklist devices that just map physical memory */
14 char *blacklist[] = { "/dev/mem",
15