findutils: Fix building with unified headers
This commit is contained in:
parent
67829fdb54
commit
0440b67afc
14
packages/findutils/gl-lib-mountlist.c.patch
Normal file
14
packages/findutils/gl-lib-mountlist.c.patch
Normal file
@ -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 <unistd.h>
|
||||
|
||||
+#ifdef __ANDROID__
|
||||
+# include <sys/sysmacros.h> /* makedev() macro */
|
||||
+#endif
|
||||
+
|
||||
#if HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user