buildrootschalter/package/memstat/0001-PATH_MAX.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

15 lines
416 B
Diff

Add missing #include for PATH_MAX
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
--- memstat-0.8.org/memstat.c 2009-06-08 14:38:05.000000000 +0200
+++ memstat-0.8/memstat.c 2014-09-12 03:55:43.096035374 +0200
@@ -19,6 +19,7 @@
#include <unistd.h>
#include <getopt.h>
#include <errno.h>
+#include <limits.h>
/* blacklist devices that just map physical memory */
char *blacklist[] = { "/dev/mem",