From 0440b67afc93f7e61e2c21f2edbd99e51138e9bb Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 26 Jun 2017 14:15:28 +0200 Subject: [PATCH] findutils: Fix building with unified headers --- packages/findutils/gl-lib-mountlist.c.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/findutils/gl-lib-mountlist.c.patch diff --git a/packages/findutils/gl-lib-mountlist.c.patch b/packages/findutils/gl-lib-mountlist.c.patch new file mode 100644 index 000000000..e8561a074 --- /dev/null +++ b/packages/findutils/gl-lib-mountlist.c.patch @@ -0,0 +1,14 @@ +diff -u -r ../findutils-4.6.0/gl/lib/mountlist.c ./gl/lib/mountlist.c +--- ../findutils-4.6.0/gl/lib/mountlist.c 2015-12-24 17:41:44.000000000 +0100 ++++ ./gl/lib/mountlist.c 2017-06-26 14:11:45.311482879 +0200 +@@ -33,6 +33,10 @@ + + #include + ++#ifdef __ANDROID__ ++# include /* makedev() macro */ ++#endif ++ + #if HAVE_SYS_PARAM_H + # include + #endif