diff mbox

arptables: disable dlfcn.h include

Message ID 1415452779-11721-1-git-send-email-gustavo@zacarias.com.ar
State Changes Requested
Delegated to: Pablo Neira
Headers show

Commit Message

Gustavo Zacarias Nov. 8, 2014, 1:19 p.m. UTC
The relevant code is disabled in libarptc_incl.c so it's not required
and breaks the ability to build it in a pure-static toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 arptables.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Pablo Neira Ayuso Nov. 10, 2014, 5:41 p.m. UTC | #1
On Sat, Nov 08, 2014 at 10:19:39AM -0300, Gustavo Zacarias wrote:
> The relevant code is disabled in libarptc_incl.c so it's not required
> and breaks the ability to build it in a pure-static toolchain.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  arptables.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arptables.c b/arptables.c
> index 64ac3aa..fe270bc 100644
> --- a/arptables.c
> +++ b/arptables.c
> @@ -35,7 +35,9 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <inttypes.h>
> +#if 0
>  #include <dlfcn.h>
> +#endif

Then please, remove it. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arptables.c b/arptables.c
index 64ac3aa..fe270bc 100644
--- a/arptables.c
+++ b/arptables.c
@@ -35,7 +35,9 @@ 
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#if 0
 #include <dlfcn.h>
+#endif
 #include <ctype.h>
 #include <stdarg.h>
 #include <limits.h>