From 657f699ef7e5a91a529337cac76ed48c68a28583 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 7 May 2016 17:36:32 +0200 Subject: include: define _DEFAULT_SOURCE Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are deprecated in favor of the _DEFAULT_SOURCE macro. See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8 Reviewed-on: https://plan9port-review.googlesource.com/1500 Reviewed-by: David du Colombier <0intro@gmail.com> --- src/lib9/utf/utfecpy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib9/utf/utfecpy.c') diff --git a/src/lib9/utf/utfecpy.c b/src/lib9/utf/utfecpy.c index cf3535fb..bab8136c 100644 --- a/src/lib9/utf/utfecpy.c +++ b/src/lib9/utf/utfecpy.c @@ -12,6 +12,7 @@ * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. */ #define _BSD_SOURCE 1 /* memccpy */ +#define _DEFAULT_SOURCE 1 #include #include #include "plan9.h" -- cgit v1.2.3