summaryrefslogtreecommitdiff
path: root/src/sss_client/common.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-05-19 09:58:09 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 10:57:44 -0400
commit324fb26ba803a999bedc29e93c46c84f27abf5b7 (patch)
treed504009cdf1377ab791f69706c4e77f755ea65ad /src/sss_client/common.c
parent7bdaf2a712d73763e7c3d25f6bb544b18f7028eb (diff)
downloadsssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.gz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.bz2
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.zip
Set _GNU_SOURCE globally
Diffstat (limited to 'src/sss_client/common.c')
-rw-r--r--src/sss_client/common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sss_client/common.c b/src/sss_client/common.c
index c8a95159..b6033055 100644
--- a/src/sss_client/common.c
+++ b/src/sss_client/common.c
@@ -23,8 +23,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* for struct ucred */
-#define _GNU_SOURCE
+#include "config.h"
#include <nss.h>
#include <security/pam_modules.h>
@@ -43,7 +42,6 @@
#include <libintl.h>
#define _(STRING) dgettext (PACKAGE, STRING)
-#include "config.h"
#include "sss_cli.h"
#if HAVE_PTHREAD