diff options
-rw-r--r-- | src/src/drtables.c | 1 | ||||
-rw-r--r-- | src/src/exim.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/src/drtables.c b/src/src/drtables.c index 92b4878ca..276c0e67b 100644 --- a/src/src/drtables.c +++ b/src/src/drtables.c @@ -10,7 +10,6 @@ #include "exim.h" -#include <dlfcn.h> #include <string.h> /* This module contains tables that define the lookup methods and drivers diff --git a/src/src/exim.h b/src/src/exim.h index 2c8a75c51..b9b2ab0eb 100644 --- a/src/src/exim.h +++ b/src/src/exim.h @@ -462,7 +462,7 @@ requires various things that are set therein. */ #include <iconv.h> #endif -#if defined(USE_READLINE) || defined(EXPAND_DLFUNC) +#if defined(USE_READLINE) || defined(EXPAND_DLFUNC) || defined (LOOKUP_MODULE_DIR) #include <dlfcn.h> #endif |