summaryrefslogtreecommitdiffstats
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/ftp.c1
-rw-r--r--src/helpers/sane.c1
-rw-r--r--src/helpers/tns.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/ftp.c b/src/helpers/ftp.c
index e7fe7f7..24ee877 100644
--- a/src/helpers/ftp.c
+++ b/src/helpers/ftp.c
@@ -25,6 +25,7 @@
#include <ctype.h> /* for isdigit */
#include <errno.h>
+#define _GNU_SOURCE
#include <netinet/tcp.h>
#include <libmnl/libmnl.h>
diff --git a/src/helpers/sane.c b/src/helpers/sane.c
index 79ca948..c30f4ba 100644
--- a/src/helpers/sane.c
+++ b/src/helpers/sane.c
@@ -30,6 +30,7 @@
#include "log.h"
#include <errno.h>
#include <netinet/ip.h>
+#define _GNU_SOURCE
#include <netinet/tcp.h>
#include <libmnl/libmnl.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
diff --git a/src/helpers/tns.c b/src/helpers/tns.c
index 5833fea..2b4fed4 100644
--- a/src/helpers/tns.c
+++ b/src/helpers/tns.c
@@ -18,6 +18,7 @@
#include <ctype.h> /* for isdigit */
#include <errno.h>
+#define _GNU_SOURCE
#include <netinet/tcp.h>
#include <libmnl/libmnl.h>