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 | |
parent | a7cfbaf711fb9c7c462547502ce91d2fa16ac3a4 (diff) | |
download | bluez-261948090e9073514ac4b5f64c8715cf0a71eafa.tar.gz |
build: Move declaration of _GNU_SOURCE back into individual source files
Diffstat (limited to 'obexd')
-rw-r--r-- | obexd/client/driver.c | 1 | ||||
-rw-r--r-- | obexd/client/ftp.c | 1 | ||||
-rw-r--r-- | obexd/client/map.c | 1 | ||||
-rw-r--r-- | obexd/client/mns.c | 1 | ||||
-rw-r--r-- | obexd/client/pbap.c | 1 | ||||
-rw-r--r-- | obexd/client/transport.c | 1 | ||||
-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 | ||||
-rw-r--r-- | obexd/src/log.c | 1 | ||||
-rw-r--r-- | obexd/src/main.c | 1 | ||||
-rw-r--r-- | obexd/src/mimetype.c | 1 |
14 files changed, 14 insertions, 1 deletions
diff --git a/obexd/client/driver.c b/obexd/client/driver.c index 27857b571..0dae35601 100644 --- a/obexd/client/driver.c +++ b/obexd/client/driver.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/client/ftp.c b/obexd/client/ftp.c index d799821b1..5e30654af 100644 --- a/obexd/client/ftp.c +++ b/obexd/client/ftp.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <errno.h> #include <string.h> diff --git a/obexd/client/map.c b/obexd/client/map.c index 3e581c8ee..550c5afb4 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <errno.h> #include <string.h> #include <stdio.h> diff --git a/obexd/client/mns.c b/obexd/client/mns.c index 14b184811..4912cb90f 100644 --- a/obexd/client/mns.c +++ b/obexd/client/mns.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/client/pbap.c b/obexd/client/pbap.c index 1ab34a7db..3f5665fcd 100644 --- a/obexd/client/pbap.c +++ b/obexd/client/pbap.c @@ -26,6 +26,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <errno.h> #include <string.h> #include <stdio.h> diff --git a/obexd/client/transport.c b/obexd/client/transport.c index aae6780a2..4cd770672 100644 --- a/obexd/client/transport.c +++ b/obexd/client/transport.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/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> diff --git a/obexd/src/log.c b/obexd/src/log.c index f259728fc..8e2ebaab2 100644 --- a/obexd/src/log.c +++ b/obexd/src/log.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <stdarg.h> #include <syslog.h> diff --git a/obexd/src/main.c b/obexd/src/main.c index c774cda50..139f1412c 100644 --- a/obexd/src/main.c +++ b/obexd/src/main.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/obexd/src/mimetype.c b/obexd/src/mimetype.c index 833ddc721..c8b040a43 100644 --- a/obexd/src/mimetype.c +++ b/obexd/src/mimetype.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <string.h> |