]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables-save: remove dlfcn.h include
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 27 Nov 2013 13:21:12 +0000 (10:21 -0300)
committerFlorian Westphal <fw@strlen.de>
Thu, 28 Nov 2013 22:37:29 +0000 (23:37 +0100)
It's not required and breaks on static-only uClibc builds which don't
have the header file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/ip6tables-save.c
iptables/iptables-save.c

index d819b30b2ceb917ee7ac4e4dd862fe25d884c135..a86a64a3a9a8e349805a672e7ddad08efe445394 100644 (file)
 #include "ip6tables.h"
 #include "ip6tables-multi.h"
 
-#ifndef NO_SHARED_LIBS
-#include <dlfcn.h>
-#endif
-
 static int show_counters = 0;
 
 static const struct option options[] = {
index e599fcec5bb9d57375debacf9b8aa2cf2ca14862..2999c7f4ded856d44d747ecb0316fab3e0a8b1da 100644 (file)
 #include "iptables.h"
 #include "iptables-multi.h"
 
-#ifndef NO_SHARED_LIBS
-#include <dlfcn.h>
-#endif
-
 static int show_counters = 0;
 
 static const struct option options[] = {