1 From 1b09d640c1781e9b28f803c3dc20cea1a1a653a8 Mon Sep 17 00:00:00 2001
2 From: Vita Preskovsky <vitap@ti.com>
3 Date: Tue, 30 Oct 2012 09:54:58 +0200
4 Subject: [PATCH] bluez: define _GNU_SOURCE macro
6 * O_CLOEXEC flag used in bluez requires _GNU_SOURCE macro to be defined.
9 Signed-off-by: Vita Preskovsky <vitap@ti.com>
10 ---
11 profiles/input/hog_device.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/profiles/input/hog_device.c b/profiles/input/hog_device.c
15 index f6e945e..576fb3e 100644
16 --- a/profiles/input/hog_device.c
17 +++ b/profiles/input/hog_device.c
18 @@ -26,7 +26,7 @@
19 #ifdef HAVE_CONFIG_H
20 #include <config.h>
21 #endif
22 -
23 +#define _GNU_SOURCE
24 #include <stdlib.h>
25 #include <stdbool.h>
26 #include <errno.h>
27 --
28 1.7.9.5