summaryrefslogtreecommitdiff
path: root/src/responder/common
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/responder/common
parent7bdaf2a712d73763e7c3d25f6bb544b18f7028eb (diff)
downloadsssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.gz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.bz2
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.zip
Set _GNU_SOURCE globally
Diffstat (limited to 'src/responder/common')
-rw-r--r--src/responder/common/responder_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index 37761ae9..c8647e01 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -19,8 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* for struct ucred */
-#define _GNU_SOURCE
+#include "config.h"
#include <stdio.h>
#include <unistd.h>
@@ -33,7 +32,6 @@
#include <sys/time.h>
#include <errno.h>
#include <popt.h>
-#include "config.h"
#include "util/util.h"
#include "db/sysdb.h"
#include "confdb/confdb.h"