open-plc-utils: new package
[buildroot-gz.git] / package / iptables / 0002-iptables-ip-6-tables-save.c-remove-dlfcn.h-include.patch
blob1cdc6c0af251d38958642cd3c524d0112e1e2dce
1 From 2efdcf332a40431c6584970bb0c68712d14d409b Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Wed, 27 Nov 2013 10:18:11 -0300
4 Subject: [PATCH] iptables/ip(6)tables-save.c: remove dlfcn.h include
6 It's not required and breaks on static-only uClibc builds which don't
7 have the header file.
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11 iptables/ip6tables-save.c | 4 ----
12 iptables/iptables-save.c | 4 ----
13 2 files changed, 8 deletions(-)
15 diff --git a/iptables/ip6tables-save.c b/iptables/ip6tables-save.c
16 index d819b30..a86a64a 100644
17 --- a/iptables/ip6tables-save.c
18 +++ b/iptables/ip6tables-save.c
19 @@ -18,10 +18,6 @@
20 #include "ip6tables.h"
21 #include "ip6tables-multi.h"
23 -#ifndef NO_SHARED_LIBS
24 -#include <dlfcn.h>
25 -#endif
27 static int show_counters = 0;
29 static const struct option options[] = {
30 diff --git a/iptables/iptables-save.c b/iptables/iptables-save.c
31 index e599fce..2999c7f 100644
32 --- a/iptables/iptables-save.c
33 +++ b/iptables/iptables-save.c
34 @@ -17,10 +17,6 @@
35 #include "iptables.h"
36 #include "iptables-multi.h"
38 -#ifndef NO_SHARED_LIBS
39 -#include <dlfcn.h>
40 -#endif
42 static int show_counters = 0;
44 static const struct option options[] = {
45 --
46 1.8.3.2