From: Roy Marples Date: Mon, 23 Oct 2023 14:39:20 +0000 (+0100) Subject: Expose memset_s on FreeBSD X-Git-Tag: v10.0.5~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b6541979f61a771eb637d1c6f35e7d7ae0678f;p=thirdparty%2Fdhcpcd.git Expose memset_s on FreeBSD --- diff --git a/configure b/configure index 9a49692a..646ce803 100755 --- a/configure +++ b/configure @@ -945,6 +945,7 @@ fi if [ -z "$MEMSET_S" ]; then printf "Testing for memset_s ... " cat <_memset_s.c +#define __STDC_WANT_LIB_EXT1__ 1 #include int main(void) { int a; @@ -961,6 +962,7 @@ EOF rm -f _memset_s.c _memset_s fi if [ "$MEMSET_S" = yes ]; then + echo "#define __STDC_WANT_LIB_EXT1__ 1" >>$CONFIG_H echo "#define HAVE_MEMSET_S" >>$CONFIG_H fi