Index: dist/libfetch/http.c =================================================================== RCS file: /cvsroot/src/external/bsd/fetch/dist/libfetch/http.c,v retrieving revision 1.3 diff -u -r1.3 http.c --- dist/libfetch/http.c 7 Jan 2014 02:13:00 -0000 1.3 +++ dist/libfetch/http.c 1 Jun 2020 00:45:39 -0000 @@ -68,8 +68,10 @@ #define _GNU_SOURCE #endif +#ifndef _REENTRANT /* Needed for gmtime_r on Interix */ #define _REENTRANT +#endif #if HAVE_CONFIG_H #include "config.h" Index: lib/Makefile =================================================================== RCS file: /cvsroot/src/external/bsd/fetch/lib/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- lib/Makefile 8 Feb 2020 00:11:18 -0000 1.16 +++ lib/Makefile 1 Jun 2020 00:45:39 -0000 @@ -32,10 +32,6 @@ ${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \ ${LIBFETCHDIR}/http.errors > ${.TARGET} -.if ${MKSANITIZER:Uno} == "yes" || ${MKLIBCSANITIZER:Uno} == "yes" -CFLAGS+= -Wno-macro-redefined # _REENTRANT redefined -.endif - COPTS.http.c+= ${GCC_NO_STRINGOP_TRUNCATION} .include