aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:16:03 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:16:03 (GMT)
commit22e2e8b44054a4e95dd473079f0e7800284b0d20 (patch)
tree86072f1e870cdc8cece3c291eaf768ded81d9bea
parent7ed05d1b4a4665580489e2534a13fb9b00cf8cef (diff)
downloadpowwow-22e2e8b44054a4e95dd473079f0e7800284b0d20.zip
powwow-22e2e8b44054a4e95dd473079f0e7800284b0d20.tar.gz
powwow-22e2e8b44054a4e95dd473079f0e7800284b0d20.tar.bz2
Don't include dlfcn.h if no libdl
-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"