The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / memstat / 0001-PATH_MAX.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/memstat/0001-PATH_MAX.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/memstat/0001-PATH_MAX.patch
new file mode 100644 (file)
index 0000000..0c3617a
--- /dev/null
@@ -0,0 +1,14 @@
+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",