aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cmdline/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cmdline/search.cpp')
-rw-r--r--examples/cmdline/search.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/cmdline/search.cpp b/examples/cmdline/search.cpp
index 9e1c896..235f5b6 100644
--- a/examples/cmdline/search.cpp
+++ b/examples/cmdline/search.cpp
@@ -4,6 +4,14 @@
#include <regex.h> // GNU
#include <iostream>
+#ifndef NO_SWORD_NAMESPACE
+using sword::SWMgr;
+using sword::SWModule;
+using sword::ModMap;
+using sword::VerseKey;
+using sword::ListKey;
+#endif
+
void percentUpdate(char percent, void *userData) {
static char printed = 0;
char maxHashes = *((char *)userData);