summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-24 00:38:52 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-24 00:38:52 +0200
commitc43719d6ba9c7d3395af1f15c74882bdf26cdc86 (patch)
tree56283f9c7592d73f7a5369532a3b4fc3e7f82961 /shared
parentc3c566aaf146b292ad4638319a4750f9f843d65a (diff)
Add global _GNU_SOURCE define
Diffstat (limited to 'shared')
-rw-r--r--shared/config-parser.c1
-rw-r--r--shared/config-parser.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/shared/config-parser.c b/shared/config-parser.c
index e2ff413..8094cda 100644
--- a/shared/config-parser.c
+++ b/shared/config-parser.c
@@ -1,4 +1,3 @@
-#define _GNU_SOURCE
#include <stdio.h>
#include <ctype.h>
#include <string.h>
diff --git a/shared/config-parser.h b/shared/config-parser.h
index e371dec..7d99e31 100644
--- a/shared/config-parser.h
+++ b/shared/config-parser.h
@@ -1,7 +1,6 @@
#ifndef fooconfigparserhfoo
#define fooconfigparserhfoo
-#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>