Skip to content

Commit

Permalink
scripts/feature_to_c.sh: Include qemu/osdep.h rather than config.h
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pm215 committed Feb 16, 2016
1 parent 9167ebd commit 253785e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/feature_to_c.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'[] = {"
Expand Down

0 comments on commit 253785e

Please sign in to comment.