projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f066c8b
)
tools/helpers: fix build of xen-init-dom0 with -Werror
author
Anthony PERARD
<anthony.perard@citrix.com>
Tue, 12 Jul 2022 09:16:10 +0000
(11:16 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 12 Jul 2022 09:16:10 +0000
(11:16 +0200)
Missing prototype of asprintf() without _GNU_SOURCE.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Henry Wang <Henry.Wang@arm.com>
master commit:
d693b22733044d68e9974766b5c9e6259c9b1708
master date: 2022-07-12 08:38:35 +0200
tools/helpers/xen-init-dom0.c
patch
|
blob
|
history
diff --git
a/tools/helpers/xen-init-dom0.c
b/tools/helpers/xen-init-dom0.c
index c99224a4b607604e80c4ae1985b2724e278b8cd5..b4861c9e804120487662450d08a9a6000bf35c6c 100644
(file)
--- 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>