summaryrefslogtreecommitdiff
path: root/package/eudev/patches/patch-src_collect_collect_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/eudev/patches/patch-src_collect_collect_c')
-rw-r--r--package/eudev/patches/patch-src_collect_collect_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/eudev/patches/patch-src_collect_collect_c b/package/eudev/patches/patch-src_collect_collect_c
new file mode 100644
index 000000000..dbf17c706
--- /dev/null
+++ b/package/eudev/patches/patch-src_collect_collect_c
@@ -0,0 +1,11 @@
+--- eudev-1.5.3.orig/src/collect/collect.c 2014-03-22 22:56:51.000000000 +0100
++++ eudev-1.5.3/src/collect/collect.c 2014-03-24 20:45:48.000000000 +0100
+@@ -32,7 +32,7 @@
+ #include <sys/stat.h>
+
+ #ifdef __UCLIBC__
+-#include <linux/fcntl.h>
++#define O_CLOEXEC 02000000 /* Set close_on_exec. */
+ #endif
+
+ #include "libudev.h"