From: Callum Farmer Date: Mon, 3 Oct 2022 15:09:18 +0000 (+0100) Subject: include: explicit_bzero() requires _DEFAULT_SOURCE X-Git-Tag: 0.11.7~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da1f45ac71ac0db7f2ad48fd3dbf24e719723ee1;p=thirdparty%2Flibbsd.git include: explicit_bzero() requires _DEFAULT_SOURCE Signed-off-by: Callum Farmer Signed-off-by: Guillem Jover --- diff --git a/include/bsd/string.h b/include/bsd/string.h index d03c755..4f2b71c 100644 --- a/include/bsd/string.h +++ b/include/bsd/string.h @@ -48,7 +48,7 @@ void strmode(mode_t mode, char *str); #if !defined(__GLIBC__) || \ !__GLIBC_PREREQ(2, 25) || \ - !defined(_GNU_SOURCE) + !defined(_DEFAULT_SOURCE) void explicit_bzero(void *buf, size_t len); #endif __END_DECLS