From 50484d4bede6b59706457e44a32cbe2d3e9c28d2 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 07:31:13 +0930 Subject: tdb2: make tdb1 headers include tdb2 headers. They're about to start sharing TDB2's definitions. Signed-off-by: Rusty Russell (Imported from CCAN commit 1e3138a0ad0c184d2ca49ce7bc47173eb2fe67bd) --- lib/tdb2/tdb1_private.h | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) (limited to 'lib/tdb2/tdb1_private.h') diff --git a/lib/tdb2/tdb1_private.h b/lib/tdb2/tdb1_private.h index 809f135555..7ce192b9a6 100644 --- a/lib/tdb2/tdb1_private.h +++ b/lib/tdb2/tdb1_private.h @@ -25,37 +25,11 @@ License along with this library; if not, see . */ -#ifndef _SAMBA_BUILD_ -#include "config.h" -/* This keeps us consistent with TDB2 code. */ -#if HAVE_FILE_OFFSET_BITS -#define _FILE_OFFSET_BITS 64 -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#else -#include "replace.h" -#include "system/filesys.h" -#include "system/time.h" -#include "system/shmem.h" -#include "system/select.h" -#include "system/wait.h" -#endif - +#include "private.h" #include "tdb1.h" +#include + /* Temporary wrapper to avoid undue churn in test/ */ #define tdb1_error(tdb) ((tdb)->ecode) -- cgit