diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2018-12-06 21:28:18 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-12-06 21:28:18 +0100 |
commit | 261948090e9073514ac4b5f64c8715cf0a71eafa (patch) | |
tree | 337274f0c0ce990d541b3e15358caadd3b111ddc /obexd/plugins | |
parent | a7cfbaf711fb9c7c462547502ce91d2fa16ac3a4 (diff) | |
download | bluez-261948090e9073514ac4b5f64c8715cf0a71eafa.tar.gz |
build: Move declaration of _GNU_SOURCE back into individual source files
Diffstat (limited to 'obexd/plugins')
-rw-r--r-- | obexd/plugins/filesystem.c | 1 | ||||
-rw-r--r-- | obexd/plugins/irmc.c | 1 | ||||
-rw-r--r-- | obexd/plugins/mas.c | 1 | ||||
-rw-r--r-- | obexd/plugins/phonebook-dummy.c | 1 | ||||
-rw-r--r-- | obexd/plugins/phonebook-tracker.c | 2 |
5 files changed, 5 insertions, 1 deletions
diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c index 0e6cd49c3..48239a8bc 100644 --- a/obexd/plugins/filesystem.c +++ b/obexd/plugins/filesystem.c @@ -26,6 +26,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/obexd/plugins/irmc.c b/obexd/plugins/irmc.c index a3bbd60da..fcf5340e7 100644 --- a/obexd/plugins/irmc.c +++ b/obexd/plugins/irmc.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <errno.h> diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c index ef67ec59c..f73c3e9d8 100644 --- a/obexd/plugins/mas.c +++ b/obexd/plugins/mas.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <string.h> #include <errno.h> #include <glib.h> diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c index b9e3a0d23..9279ef29a 100644 --- a/obexd/plugins/phonebook-dummy.c +++ b/obexd/plugins/phonebook-dummy.c @@ -26,6 +26,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <dirent.h> #include <errno.h> #include <stdio.h> diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index 0743629cb..c1d14078b 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -21,7 +21,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif #include <string.h> |