All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iptables] iptables/ip(6)tables-save.c: remove dlfcn.h include
@ 2013-11-27 13:21 Gustavo Zacarias
  2013-11-28 22:43 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2013-11-27 13:21 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Gustavo Zacarias

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>
---
 iptables/ip6tables-save.c | 4 ----
 iptables/iptables-save.c  | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/iptables/ip6tables-save.c b/iptables/ip6tables-save.c
index d819b30..a86a64a 100644
--- a/iptables/ip6tables-save.c
+++ b/iptables/ip6tables-save.c
@@ -18,10 +18,6 @@
 #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[] = {
diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
index e599fce..2999c7f 100644
--- a/iptables/iptables-save.c
+++ b/iptables/iptables-save.c
@@ -17,10 +17,6 @@
 #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[] = {
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-28 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-27 13:21 [PATCH iptables] iptables/ip(6)tables-save.c: remove dlfcn.h include Gustavo Zacarias
2013-11-28 22:43 ` Florian Westphal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.