summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbbackup.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/tdbbackup.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/tdbbackup.c')
-rw-r--r--source3/tdb/tdbbackup.c12
1 files changed, 12 insertions, 0 deletions
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 <config.h>
+#endif
+
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -54,6 +59,13 @@
#include <sys/time.h>
#include <ctype.h>
#include <signal.h>
+
+#else
+
+#include "includes.h"
+
+#endif
+
#include "tdb.h"
#include "tdbback.h"