summaryrefslogtreecommitdiff
path: root/package/eudev/patches/patch-src_mtd_probe_mtd_probe_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 20:52:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 20:52:25 +0100
commit57da9d9c388aad113631d1b97879e84d9b661feb (patch)
tree8483bf2d39ae8de4b5d32a3eaedcc152504f85c4 /package/eudev/patches/patch-src_mtd_probe_mtd_probe_c
parent44edd441548ad96966a0bd380d0c8461374b5fcb (diff)
fix uclibc compile
Diffstat (limited to 'package/eudev/patches/patch-src_mtd_probe_mtd_probe_c')
-rw-r--r--package/eudev/patches/patch-src_mtd_probe_mtd_probe_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/eudev/patches/patch-src_mtd_probe_mtd_probe_c b/package/eudev/patches/patch-src_mtd_probe_mtd_probe_c
new file mode 100644
index 000000000..340f08e94
--- /dev/null
+++ b/package/eudev/patches/patch-src_mtd_probe_mtd_probe_c
@@ -0,0 +1,11 @@
+--- eudev-1.5.3.orig/src/mtd_probe/mtd_probe.c 2014-03-22 22:56:51.000000000 +0100
++++ eudev-1.5.3/src/mtd_probe/mtd_probe.c 2014-03-24 20:46:53.000000000 +0100
+@@ -27,7 +27,7 @@
+ #include <stdlib.h>
+
+ #ifdef __UCLIBC__
+-#include <linux/fcntl.h>
++# define O_CLOEXEC 02000000 /* Set close_on_exec. */
+ #endif
+
+ int main(int argc, char** argv)