From: Anthony PERARD Date: Tue, 12 Jul 2022 06:38:35 +0000 (+0200) Subject: tools/helpers: fix build of xen-init-dom0 with -Werror X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~458 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d693b22733044d68e9974766b5c9e6259c9b1708;p=xen.git tools/helpers: fix build of xen-init-dom0 with -Werror Missing prototype of asprintf() without _GNU_SOURCE. Signed-off-by: Anthony PERARD Reviewed-by: Henry Wang --- diff --git a/tools/helpers/xen-init-dom0.c b/tools/helpers/xen-init-dom0.c index 37eff8868f..764f837887 100644 --- a/tools/helpers/xen-init-dom0.c +++ b/tools/helpers/xen-init-dom0.c @@ -1,3 +1,5 @@ +#define _GNU_SOURCE + #include #include #include