projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee38108
)
tools/helpers: fix build of xen-init-dom0 with -Werror
author
Anthony PERARD
<anthony.perard@citrix.com>
Tue, 12 Jul 2022 06:38:35 +0000
(08:38 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 12 Jul 2022 06:38:35 +0000
(08:38 +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>
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 37eff8868f2545224d8e43430d93fd9235e1e566..764f8378878ebcfdbcd1e11c7a0fb3e391341d65 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>