diff options
Diffstat (limited to 'lib/tdb2/tools/tdb2torture.c')
-rw-r--r-- | lib/tdb2/tools/tdb2torture.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/tdb2/tools/tdb2torture.c b/lib/tdb2/tools/tdb2torture.c index 83847da027..1c1efc593a 100644 --- a/lib/tdb2/tools/tdb2torture.c +++ b/lib/tdb2/tools/tdb2torture.c @@ -2,9 +2,13 @@ writers - that stresses the locking code. */ +#include "config.h" #include "tdb2.h" -#include <stdlib.h> #include <err.h> +#ifdef HAVE_LIBREPLACE +#include <replace.h> +#else +#include <stdlib.h> #include <getopt.h> #include <stdarg.h> #include <stdio.h> @@ -15,6 +19,7 @@ #include <fcntl.h> #include <time.h> #include <sys/wait.h> +#endif /* Currently we default to creating a tdb1. This will change! */ #define TDB2_IS_DEFAULT false |