summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-09-06 12:35:36 +0100
committerVincent Sanders <vince@kyllikki.org>2018-09-06 12:35:36 +0100
commit05b9baadbc34d9900195caf02c20a8b18f11b3a5 (patch)
treefadf4e7456006ed344ad3badc4bd9d5ce7ec7b46 /frontends
parent25963316407ee678c8bcb40f3338029a68fe4b56 (diff)
downloadnetsurf-05b9baadbc34d9900195caf02c20a8b18f11b3a5.tar.gz
netsurf-05b9baadbc34d9900195caf02c20a8b18f11b3a5.tar.bz2
_XOPEN_SOURCE needs defining to avoid warnings on BSD
Diffstat (limited to 'frontends')
-rw-r--r--frontends/monkey/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/monkey/Makefile b/frontends/monkey/Makefile
index 6604a88a5..86f1d912e 100644
--- a/frontends/monkey/Makefile
+++ b/frontends/monkey/Makefile
@@ -12,6 +12,7 @@ CWARNFLAGS += -Werror
CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
-D_DEFAULT_SOURCE \
+ -D_XOPEN_SOURCE=700 \
-D_POSIX_C_SOURCE=200809L \
-D_NETBSD_SOURCE \
-DMONKEY_RESPATH=\"$(NETSURF_MONKEY_RESOURCES)\"