Commit 253785e3 authored by Peter Maydell's avatar Peter Maydell
Browse files

scripts/feature_to_c.sh: Include qemu/osdep.h rather than config.h



In the .c files generated by this script, include qemu/osdep.h
as the first included header, not config.h.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent 9167ebd9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'[] = {"