From 7989e053279034fc0a6e29cfc5ffe0b32bcae2e7 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Mon, 15 Sep 2014 04:53:38 +0200 Subject: [PATCH] memstat: Add patch to fix compilation with musl libc PATH_MAX was undefined because of a missing #include. Signed-off-by: Maarten ter Huurne Signed-off-by: Peter Korsgaard --- package/memstat/memstat-0001-PATH_MAX.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/memstat/memstat-0001-PATH_MAX.patch diff --git a/package/memstat/memstat-0001-PATH_MAX.patch b/package/memstat/memstat-0001-PATH_MAX.patch new file mode 100644 index 0000000000..0c3617a61b --- /dev/null +++ b/package/memstat/memstat-0001-PATH_MAX.patch @@ -0,0 +1,14 @@ +Add missing #include for PATH_MAX + +Signed-off-by: Maarten ter Huurne + +--- 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 + #include + #include ++#include + + /* blacklist devices that just map physical memory */ + char *blacklist[] = { "/dev/mem", -- 2.30.2