summaryrefslogtreecommitdiffstats
path: root/xtables.c
diff options
context:
space:
mode:
Diffstat (limited to 'xtables.c')
-rw-r--r--xtables.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xtables.c b/xtables.c
index 3cc864b..b8c2c6f 100644
--- a/xtables.c
+++ b/xtables.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
@@ -31,6 +30,10 @@
#include <xtables.h>
+#ifndef NO_SHARED_LIBS
+#include <dlfcn.h>
+#endif
+
#define NPROTO 255
#ifndef PROC_SYS_MODPROBE