* [PATCH] arptables: disable dlfcn.h include
@ 2014-11-08 13:19 Gustavo Zacarias
2014-11-10 17:41 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-11-08 13:19 UTC (permalink / raw)
To: netfilter-devel; +Cc: Gustavo Zacarias
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
#include <ctype.h>
#include <stdarg.h>
#include <limits.h>
--
2.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arptables: disable dlfcn.h include
2014-11-08 13:19 [PATCH] arptables: disable dlfcn.h include Gustavo Zacarias
@ 2014-11-10 17:41 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2014-11-10 17:41 UTC (permalink / raw)
To: Gustavo Zacarias; +Cc: netfilter-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-10 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-08 13:19 [PATCH] arptables: disable dlfcn.h include Gustavo Zacarias
2014-11-10 17:41 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).