summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/drtables.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/src/drtables.c b/src/src/drtables.c
index c87e9c23b..06f7e30ed 100644
--- a/src/src/drtables.c
+++ b/src/src/drtables.c
@@ -489,13 +489,15 @@ extern lookup_module_info cdb_lookup_module_info;
void init_lookup_list(void)
{
+#ifdef LOOKUP_MODULE_DIR
DIR *dd;
struct dirent *ent;
- const pcre *regex_islookupmod = regex_must_compile(
- US"\\." DYNLIB_FN_EXT "$", FALSE, TRUE);
int countmodules = 0;
int moduleerrors = 0;
+#endif
struct lookupmodulestr *p;
+ const pcre *regex_islookupmod = regex_must_compile(
+ US"\\." DYNLIB_FN_EXT "$", FALSE, TRUE);
if (lookup_list_init_done)
return;