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 --- gtk/Makefile.target | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/Makefile.target') diff --git a/gtk/Makefile.target b/gtk/Makefile.target index 805488bd0..e69f6c267 100644 --- a/gtk/Makefile.target +++ b/gtk/Makefile.target @@ -49,6 +49,7 @@ GTKDEPFLAGS := -DG_DISABLE_SINGLE_INCLUDES \ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \ $(GTKDEPFLAGS) \ -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ -D_XOPEN_SOURCE=600 \ -D_POSIX_C_SOURCE=200809L \ -D_NETBSD_SOURCE \ -- cgit v1.2.3