summaryrefslogtreecommitdiff
path: root/source3/tests/crack.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/crack.c')
-rw-r--r--source3/tests/crack.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/tests/crack.c b/source3/tests/crack.c
index 1342887852..36119b3bbc 100644
--- a/source3/tests/crack.c
+++ b/source3/tests/crack.c
@@ -1,3 +1,10 @@
+#include <crack.h>
+
+#ifndef HAVE_CRACKLIB_DICTPATH
+#ifndef CRACKLIB_DICTPATH
+#define CRACKLIB_DICTPATH SAMBA_CRACKLIB_DICTPATH
+#endif
+#endif
int main(int argc, char **argv) {
FascistCheck("Foo", CRACKLIB_DICTPATH);