summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/tist.c1
-rw-r--r--plugins/vpn.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/tist.c b/plugins/tist.c
index 9b0d3f7a..9be38412 100644
--- a/plugins/tist.c
+++ b/plugins/tist.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
diff --git a/plugins/vpn.c b/plugins/vpn.c
index b9b97c1b..26e2b09d 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <string.h>
#include <fcntl.h>
#include <unistd.h>