[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging-4.16] tools/helpers: fix build of xen-init-dom0 with -Werror
commit 14fd97e3de939a63a6e467f240efb49fe226a5dc Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Tue Jul 12 11:16:10 2022 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue Jul 12 11:16:10 2022 +0200 tools/helpers: fix build of xen-init-dom0 with -Werror Missing prototype of asprintf() without _GNU_SOURCE. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx> master commit: d693b22733044d68e9974766b5c9e6259c9b1708 master date: 2022-07-12 08:38:35 +0200 --- tools/helpers/xen-init-dom0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/helpers/xen-init-dom0.c b/tools/helpers/xen-init-dom0.c index c99224a4b6..b4861c9e80 100644 --- a/tools/helpers/xen-init-dom0.c +++ b/tools/helpers/xen-init-dom0.c @@ -1,3 +1,5 @@ +#define _GNU_SOURCE + #include <stdlib.h> #include <stdint.h> #include <string.h> -- generated by git-patchbot for /home/xen/git/xen.git#staging-4.16
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |