summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-24 02:31:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:48 -0500
commit036b27c8e4f8bdd61049c5f3b78573937badbdd6 (patch)
tree12b07331d0e8c57727d790f31637dafa709f037d /source4/lib/tdb/tools
parent4be0ae794e4af2354d678fddd7bf1e822ffa9148 (diff)
downloadsamba-036b27c8e4f8bdd61049c5f3b78573937badbdd6.tar.gz
samba-036b27c8e4f8bdd61049c5f3b78573937badbdd6.tar.bz2
samba-036b27c8e4f8bdd61049c5f3b78573937badbdd6.zip
r10459: fixed some portability problems
(This used to be commit 03942dd54b31e7a4cf9c6270b26ccf68a3234b40)
Diffstat (limited to 'source4/lib/tdb/tools')
-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