diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/frobnicate.c | 3 | ||||
-rw-r--r-- | src/polkitagent/polkitagenthelperprivate.h | 1 | ||||
-rw-r--r-- | src/programs/pkexec.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/examples/frobnicate.c b/src/examples/frobnicate.c index 7ca6c46..29e0cbf 100644 --- a/src/examples/frobnicate.c +++ b/src/examples/frobnicate.c @@ -19,7 +19,8 @@ * Author: David Zeuthen <davidz@redhat.com> */ -#define _GNU_SOURCE +#include "config.h" + #include <glib.h> #include <unistd.h> #include <stdlib.h> diff --git a/src/polkitagent/polkitagenthelperprivate.h b/src/polkitagent/polkitagenthelperprivate.h index 547fdcc..c5145b5 100644 --- a/src/polkitagent/polkitagenthelperprivate.h +++ b/src/polkitagent/polkitagenthelperprivate.h @@ -22,7 +22,6 @@ #ifndef __POLKIT_AGENT_HELPER_PRIVATE_H #define __POLKIT_AGENT_HELPER_PRIVATE_H -#define _GNU_SOURCE #include <polkit/polkit.h> /* Development aid: define PAH_DEBUG to get debugging output. Do _NOT_ diff --git a/src/programs/pkexec.c b/src/programs/pkexec.c index 32c204d..7698c5c 100644 --- a/src/programs/pkexec.c +++ b/src/programs/pkexec.c @@ -23,8 +23,6 @@ # include "config.h" #endif -#define _GNU_SOURCE - #include <string.h> #include <stdlib.h> #include <sys/types.h> |