kconfig: ensure strndup() declaration is visible
authorJan Beulich <jbeulich@suse.com>
Tue, 19 Jan 2021 15:03:41 +0000 (16:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 19 Jan 2021 15:03:41 +0000 (16:03 +0100)
commit0f4fd0de7532c08bdd77a46f101e5ca1220cd163
tree3eda0054a146c94bc541d5ad7ab43b8d63fd339f
parent5e53349960d951f428add94603d57148535de864
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.

Fixes: f80fe2b34f08 ("xen: Update Kconfig to Linux v5.4")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
xen/tools/kconfig/parser.y