]> Git Repo - qemu.git/commitdiff
scripts/feature_to_c.sh: Include qemu/osdep.h rather than config.h
authorPeter Maydell <[email protected]>
Mon, 8 Feb 2016 19:17:08 +0000 (19:17 +0000)
committerPeter Maydell <[email protected]>
Tue, 16 Feb 2016 14:29:27 +0000 (14:29 +0000)
In the .c files generated by this script, include qemu/osdep.h
as the first included header, not config.h.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
scripts/feature_to_c.sh

index 888548e58b9a11a9e19233355016b34c5b2e97b2..fb1f3363f78ee3c6a27e789b69a63ea5d96943c0 100644 (file)
@@ -36,7 +36,7 @@ for input; do
   arrayname=xml_feature_`echo $input | sed 's,.*/,,; s/[-.]/_/g'`
 
   ${AWK:-awk} 'BEGIN { n = 0
-      printf "#include \"config.h\"\n"
+      printf "#include \"qemu/osdep.h\"\n"
       printf "#include \"qemu-common.h\"\n"
       printf "#include \"exec/gdbstub.h\"\n"
       print "static const char '$arrayname'[] = {"
This page took 0.029166 seconds and 4 git commands to generate.