summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools/tdbtorture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/tools/tdbtorture.c')
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index c0076a92d4..591fdab2f7 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -30,7 +30,10 @@
#endif
+#ifdef HAVE_GETOPT_H
#include <getopt.h>
+#endif
+
#define REOPEN_PROB 30
#define DELETE_PROB 8