summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ldap/ldap_auth.c')
-rw-r--r--src/providers/ldap/ldap_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_auth.c b/src/providers/ldap/ldap_auth.c
index 2a7d06ca2..40f297c16 100644
--- a/src/providers/ldap/ldap_auth.c
+++ b/src/providers/ldap/ldap_auth.c
@@ -30,9 +30,9 @@
#define LDAP_TAG_EXOP_MODIFY_PASSWD_NEW ((ber_tag_t) 0x82U)
#endif
-#define _XOPEN_SOURCE 500 /* for strptime() */
+#include "config.h"
+
#include <time.h>
-#undef _XOPEN_SOURCE
#include <errno.h>
#include <sys/time.h>
#include <strings.h>