From 8bc92a762ab922ab24231807e72f76c4316a1a4d Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Feb 2016 14:18:31 +0000 Subject: update-linux-headers.sh: Fake types.h doesn't need to include anything We have a fake linux/types.h which we create in update-linux-headers.h. Now that every QEMU source file includes osdep.h, this fake header doesn't need to include anything at all. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake Reviewed-by: Thomas Huth Message-id: 1456237112-32662-4-git-send-email-peter.maydell@linaro.org --- scripts/update-linux-headers.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 6aa8407..f7d62d9 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -136,8 +136,9 @@ for i in "$tmpdir"/include/linux/*virtio*.h "$tmpdir/include/linux/input.h" \ done cat <$output/include/standard-headers/linux/types.h -#include -#include "qemu/compiler.h" +/* For QEMU all types are already defined via osdep.h, so this + * header does not need to do anything. + */ EOF cat <$output/include/standard-headers/linux/if_ether.h #define ETH_ALEN 6 -- cgit v1.1