mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-06-24 13:41:33 +02:00
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:
parent
2f9eddc277
commit
da1f45ac71
@ -48,7 +48,7 @@ void strmode(mode_t mode, char *str);
|
|||||||
|
|
||||||
#if !defined(__GLIBC__) || \
|
#if !defined(__GLIBC__) || \
|
||||||
!__GLIBC_PREREQ(2, 25) || \
|
!__GLIBC_PREREQ(2, 25) || \
|
||||||
!defined(_GNU_SOURCE)
|
!defined(_DEFAULT_SOURCE)
|
||||||
void explicit_bzero(void *buf, size_t len);
|
void explicit_bzero(void *buf, size_t len);
|
||||||
#endif
|
#endif
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user