summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-05-23 14:58:29 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 15:32:07 -0400
commit0fc334e130cb3ca30c29c2f5d8c378393ad0d072 (patch)
tree266d12895c7c7ab97cdf7aa1225f23cf01a0dd40 /src/util
parentf8daa2e724b2964d00160a01786e331a33df5467 (diff)
downloadsssd_unused-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.gz
sssd_unused-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.xz
sssd_unused-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.zip
Import config.h earlier
On RHEL 5 and other older platforms, failing to set _GNU_SOURCE early would cause some functions - such as strndup() - to be unavailable.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/util.h b/src/util/util.h
index ac6704ae..4b6f3b78 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -21,6 +21,7 @@
#ifndef __SSSD_UTIL_H__
#define __SSSD_UTIL_H__
+#include "config.h"
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
@@ -36,8 +37,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "config.h"
-
#include <talloc.h>
#include <tevent.h>
#include <ldb.h>