summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbback.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-02 18:22:48 +0000
committerJeremy Allison <jra@samba.org>2003-10-02 18:22:48 +0000
commit4ed89be00f0239179182da04b6c3d017a639664d (patch)
treea46f20067f18b8ceda3c6c0aca5d4cfe3a04fb45 /source3/tdb/tdbback.c
parente8fb38d8dda4fe44324c454c88e3e58d2e877a56 (diff)
downloadsamba-4ed89be00f0239179182da04b6c3d017a639664d.tar.gz
samba-4ed89be00f0239179182da04b6c3d017a639664d.tar.bz2
samba-4ed89be00f0239179182da04b6c3d017a639664d.zip
Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.
Jeremy. (This used to be commit 6defe43e6d48619cee31b6c7fc602973e8eeef3f)
Diffstat (limited to 'source3/tdb/tdbback.c')
-rw-r--r--source3/tdb/tdbback.c11
1 files changed, 11 insertions, 0 deletions
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 <config.h>
+#endif
+
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -27,10 +32,16 @@
#include <fcntl.h>
#include <time.h>
#include <sys/mman.h>
+
#include <sys/stat.h>
#include <sys/time.h>
#include <ctype.h>
#include <signal.h>
+
+#else
+#include "includes.h"
+#endif
+
#include "tdb.h"
static int failed;