From e1843320680f13de5571d9f704ce2161c224a23e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 16 Feb 2023 19:19:39 -0800 Subject: src/Makefile.am: Remove hardcoded -D_BSD_SOURCE Not needed now that AC_USE_SYSTEM_EXTENSIONS is in configure.ac Avoids compiler warning of: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ Signed-off-by: Alan Coopersmith --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index b0652f7..5b7791e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,7 @@ BITMAP_DEFINES = -DBITMAPDIR=\"$(includedir)/X11/bitmaps\" AM_CPPFLAGS = \ -I${top_srcdir}/include \ -I${top_srcdir}/include/X11/Xmu \ - $(BITMAP_DEFINES) -D_CONST_X_STRING -D_BSD_SOURCE + $(BITMAP_DEFINES) -D_CONST_X_STRING AM_CFLAGS = $(CWARNFLAGS) $(XMU_CFLAGS) -- cgit v1.2.3