From ea801d6520287fed76c3aa3a3d1a729f649baa16 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 25 Sep 2005 00:13:25 +0000 Subject: r10484: try to fix the pread/pwrite declaration problems (This used to be commit 196995ea38414ce5a57031c4cdf61b3ed548196a) --- source4/lib/tdb/common/tdb_private.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4/lib/tdb/common/tdb_private.h') 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 -#endif - -#define _XOPEN_SOURCE 500 - +#include "config.h" #include #include #ifdef HAVE_STDINT_H @@ -43,7 +38,6 @@ #include #include #include -#include "config.h" #include "tdb.h" #ifndef HAVE_PREAD_DECL -- cgit