include: explicit_bzero() requires _DEFAULT_SOURCE

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
Callum Farmer 2022-10-03 16:09:18 +01:00 committed by Guillem Jover
parent 2f9eddc277
commit da1f45ac71

View File

@ -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