iptables: declare _GNU_SOURCE to define RTLD_NEXT
authorJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 14:20:23 +0000 (15:20 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 14:20:58 +0000 (15:20 +0100)
This is required to build firewall3 on non-musl systems.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.h

index efd7cf38c32c7c210173631f1c7acb9ad042ad15..1d98b76820946ed63f26841387133a7715b421a3 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __FW3_IPTABLES_H
 #define __FW3_IPTABLES_H
 
+#define _GNU_SOURCE /* RTLD_NEXT */
+
 #include <libiptc/libiptc.h>
 #include <libiptc/libip6tc.h>
 #include <xtables.h>