diff options
Diffstat (limited to 'src/accelerometer/accelerometer.c')
-rw-r--r-- | src/accelerometer/accelerometer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c index beed53c6d3..501caa42c6 100644 --- a/src/accelerometer/accelerometer.c +++ b/src/accelerometer/accelerometer.c @@ -44,6 +44,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include <stdio.h> #include <string.h> #include <stdbool.h> @@ -58,10 +62,6 @@ #include <linux/limits.h> #include <linux/input.h> -#ifdef __UCLIBC__ -#include <linux/fcntl.h> -#endif - #include "libudev.h" #include "libudev-private.h" |