From e62db5a49cbd7c8786a1b88617e5629ad0d0f64e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 28 Mar 2015 18:15:27 +0000 Subject: define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12 --- monkey/Makefile.target | 1 + 1 file changed, 1 insertion(+) (limited to 'monkey/Makefile.target') 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 \ -- cgit v1.2.3