OSDN Git Service

input: _GNU_SOURCE is needed for O_CLOEXEC on some systems
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 28 Nov 2012 14:42:36 +0000 (16:42 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 28 Nov 2012 14:42:36 +0000 (16:42 +0200)
profiles/input/hog_device.c

index 0a5fb58..541bfc7 100644 (file)
@@ -27,6 +27,7 @@
 #include <config.h>
 #endif
 
+#define _GNU_SOURCE
 #include <stdlib.h>
 #include <stdbool.h>
 #include <errno.h>