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