From 19953ff72e96694568f981fad40584774312ce6e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 2 Oct 2003 18:22:51 +0000 Subject: Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549. Jeremy. (This used to be commit 93669f329eccec34d4a1da6239ae9759f067fb8b) --- source3/tdb/tdbback.c | 11 +++++++++++ source3/tdb/tdbbackup.c | 12 ++++++++++++ 2 files changed, 23 insertions(+) (limited to 'source3/tdb') diff --git a/source3/tdb/tdbback.c b/source3/tdb/tdbback.c index 744cface55..9466c29991 100644 --- a/source3/tdb/tdbback.c +++ b/source3/tdb/tdbback.c @@ -18,6 +18,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef STANDALONE +#if HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -27,10 +32,16 @@ #include #include #include + #include #include #include #include + +#else +#include "includes.h" +#endif + #include "tdb.h" static int failed; diff --git a/source3/tdb/tdbbackup.c b/source3/tdb/tdbbackup.c index 0eaf6b6c0b..1a0e1c1588 100644 --- a/source3/tdb/tdbbackup.c +++ b/source3/tdb/tdbbackup.c @@ -41,6 +41,11 @@ */ +#ifdef STANDALONE +#if HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -54,6 +59,13 @@ #include #include #include + +#else + +#include "includes.h" + +#endif + #include "tdb.h" #include "tdbback.h" -- cgit