kconfig: ensure strndup() declaration is visible
PATCH 1/1 kconfig: ensure strndup() declaration is visible
Its guard was updated such that it is visible by default when POSIX 2008 was adopted by glibc. It's not visible by default on older glibc.
xen/tools/kconfig/parser.y +1 -0
@@ -4,6 +4,7 @@ */ %{ +#define _GNU_SOURCE #include <ctype.h> #include <stdarg.h> #include <stdio.h>
Quoted 5 lines · Jan Beulich
Its guard was updated such that it is visible by default when POSIX 2008 was adopted by glibc. It's not visible by default on older glibc.
Fixes f80fe2b34f08 ("xen: Update Kconfig to Linux v5.4")Signed-off-by Jan Beulich <[email protected]>
Ping: [PATCH] kconfig: ensure strndup() declaration is visible
In reply to Jan BeulichDoug,
Quoted 5 lines · Jan Beulich
Its guard was updated such that it is visible by default when POSIX 2008 was adopted by glibc. It's not visible by default on older glibc.
Fixes f80fe2b34f08 ("xen: Update Kconfig to Linux v5.4")Signed-off-by Jan Beulich <[email protected]>
I've got an ack from Andrew, but strictly speaking I need yours aiui. I'll wait some more, but will commit this perhaps by mid of the week.
Jan
Quoted 10 lines · Jan Beulich
Its guard was updated such that it is visible by default when POSIX 2008 was adopted by glibc. It's not visible by default on older glibc.
Fixes f80fe2b34f08 ("xen: Update Kconfig to Linux v5.4")Signed-off-by Jan Beulich <[email protected]>
xen/tools/kconfig/parser.y line 10
Quoted 7 lines
xen/tools/kconfig/parser.y +1
-0@@ -4,6 +4,7 @@ */ %{ +#define _GNU_SOURCE #include <ctype.h> #include <stdarg.h> #include <stdio.h>