summaryrefslogtreecommitdiff
path: root/iptables.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-11-06 15:20:23 +0100
committerJo-Philipp Wich <jo@mein.io>2016-11-06 15:20:58 +0100
commit227530375704f8aa5ae3af0b88d7749f7cf7e7d0 (patch)
treedbb856f973d853ba02ed71b0aea20cb9ab317538 /iptables.h
parent19acf041bfdb479e68d53699cc8940d21d76434b (diff)
downloadfirewall3-227530375704f8aa5ae3af0b88d7749f7cf7e7d0.tar.gz
iptables: declare _GNU_SOURCE to define RTLD_NEXT
This is required to build firewall3 on non-musl systems. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'iptables.h')
-rw-r--r--iptables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables.h b/iptables.h
index efd7cf3..1d98b76 100644
--- a/iptables.h
+++ b/iptables.h
@@ -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>