]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
include: explicit_bzero() requires _DEFAULT_SOURCE
authorCallum Farmer <gmbr3@opensuse.org>
Mon, 3 Oct 2022 15:09:18 +0000 (16:09 +0100)
committerGuillem Jover <guillem@hadrons.org>
Wed, 5 Oct 2022 10:15:36 +0000 (12:15 +0200)
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
include/bsd/string.h

index d03c7550f0e74babb816a8df1db771bd0d06464d..4f2b71c60d8913d1e522c165ab716904c82eba8b 100644 (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