summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/common')
-rw-r--r--source4/lib/tdb/common/tdb_private.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/lib/tdb/common/tdb_private.h b/source4/lib/tdb/common/tdb_private.h
index bfd8d04448..d7471537d8 100644
--- a/source4/lib/tdb/common/tdb_private.h
+++ b/source4/lib/tdb/common/tdb_private.h
@@ -25,12 +25,7 @@
*/
#ifndef _SAMBA_BUILD_
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#define _XOPEN_SOURCE 500
-
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_STDINT_H
@@ -43,7 +38,6 @@
#include <errno.h>
#include <sys/mman.h>
#include <sys/stat.h>
-#include "config.h"
#include "tdb.h"
#ifndef HAVE_PREAD_DECL