aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
index 1a1f9c3..e06684e 100644
--- a/cmd.c
+++ b/cmd.c
@@ -25,7 +25,10 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
+
+#ifdef HAVE_LIBDL
#include <dlfcn.h>
+#endif
#include "defines.h"
#include "main.h"