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 /attrib | |
parent | a7cfbaf711fb9c7c462547502ce91d2fa16ac3a4 (diff) | |
download | bluez-261948090e9073514ac4b5f64c8715cf0a71eafa.tar.gz |
build: Move declaration of _GNU_SOURCE back into individual source files
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/att.c | 2 | ||||
-rw-r--r-- | attrib/gattrib.c | 2 | ||||
-rw-r--r-- | attrib/interactive.c | 3 | ||||
-rw-r--r-- | attrib/utils.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/attrib/att.c b/attrib/att.c index 826b3c183..c0438a382 100644 --- a/attrib/att.c +++ b/attrib/att.c @@ -23,7 +23,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif #include <errno.h> diff --git a/attrib/gattrib.c b/attrib/gattrib.c index 2e1e39ac6..57ca01541 100644 --- a/attrib/gattrib.c +++ b/attrib/gattrib.c @@ -23,7 +23,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif #include <stdio.h> diff --git a/attrib/interactive.c b/attrib/interactive.c index 7d4786ac9..9a7976d34 100644 --- a/attrib/interactive.c +++ b/attrib/interactive.c @@ -22,9 +22,10 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif +#define _GNU_SOURCE #include <string.h> #include <stdlib.h> #include <stdarg.h> diff --git a/attrib/utils.c b/attrib/utils.c index 8e2fc1a42..a74902959 100644 --- a/attrib/utils.c +++ b/attrib/utils.c @@ -22,7 +22,7 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif #include <stdlib.h> |