summaryrefslogtreecommitdiff
path: root/monkey/Makefile.target
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-03-28 18:15:27 +0000
committerVincent Sanders <vince@kyllikki.org>2015-03-28 18:25:41 +0000
commite62db5a49cbd7c8786a1b88617e5629ad0d0f64e (patch)
treed5bf8f5dd01afee3545243eeaa65638f323fb1c1 /monkey/Makefile.target
parent22e0c0536a3f9a881ad9e80a9562580c143b06a9 (diff)
downloadnetsurf-e62db5a49cbd7c8786a1b88617e5629ad0d0f64e.tar.gz
netsurf-e62db5a49cbd7c8786a1b88617e5629ad0d0f64e.tar.bz2
define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12
Diffstat (limited to 'monkey/Makefile.target')
-rw-r--r--monkey/Makefile.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/monkey/Makefile.target b/monkey/Makefile.target
index d3c974782..751746343 100644
--- a/monkey/Makefile.target
+++ b/monkey/Makefile.target
@@ -37,6 +37,7 @@ CWARNFLAGS += -Werror
CFLAGS += -std=c99 -Dmonkey -Dnsmonkey -g \
-D_BSD_SOURCE \
+ -D_DEFAULT_SOURCE \
-D_XOPEN_SOURCE=600 \
-D_POSIX_C_SOURCE=200112L \
-D_NETBSD_SOURCE \