summaryrefslogtreecommitdiff
path: root/package/eudev/patches/patch-src_accelerometer_accelerometer_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:39:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:39:44 +0100
commit226d4ec4a7bc14fc599795844c0ecac2faa8d194 (patch)
tree617371f8fa3dd4fe64fbdb15eb0eecb8d1917b4b /package/eudev/patches/patch-src_accelerometer_accelerometer_c
parentc5cbce58aafc30b7269c978c462e1daed89b57e0 (diff)
parent3f794fad83e51a090191803aa54f4a7fe0d5a2ef (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/eudev/patches/patch-src_accelerometer_accelerometer_c')
-rw-r--r--package/eudev/patches/patch-src_accelerometer_accelerometer_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/eudev/patches/patch-src_accelerometer_accelerometer_c b/package/eudev/patches/patch-src_accelerometer_accelerometer_c
new file mode 100644
index 000000000..95735f8c5
--- /dev/null
+++ b/package/eudev/patches/patch-src_accelerometer_accelerometer_c
@@ -0,0 +1,13 @@
+--- eudev-1.5.3.orig/src/accelerometer/accelerometer.c 2014-03-22 22:56:51.000000000 +0100
++++ eudev-1.5.3/src/accelerometer/accelerometer.c 2014-03-24 20:41:59.000000000 +0100
+@@ -58,8 +58,8 @@
+ #include <linux/limits.h>
+ #include <linux/input.h>
+
+-#ifdef __UCLIBC__
+-#include <linux/fcntl.h>
++#if defined(__UCLIBC__)
++#define O_CLOEXEC 02000000 /* set close_on_exec */
+ #endif
+
+ #include "libudev.h"