Received: from eggs.gnu.org ([2001:4830:134:3::10]:40775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAbl-0001eK-MX for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTAbk-0007FN-E3 for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:41 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:57266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAbk-0007FE-81 for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:40 -0500 From: Peter Maydell Date: Tue, 9 Feb 2016 15:25:08 +0000 Message-Id: <1455031511-23684-12-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> References: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 11/14] scripts/feature_to_c.sh: Include qemu/osdep.h rather than config.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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 --- scripts/feature_to_c.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh index 888548e..fb1f336 100644 --- a/scripts/feature_to_c.sh +++ b/scripts/feature_to_c.sh @@ -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'[] = {" -- 1.9.1