summaryrefslogtreecommitdiff
path: root/package/eudev/patches/patch-src_accelerometer_accelerometer_c
blob: 95735f8c5acce9aaa589e90c7e247b2d03766d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"