diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 07:56:34 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 18:24:29 +0100 |
commit | 4485bd269c0e1c051d21d0196be89cdba23d9520 (patch) | |
tree | 3ab16cf1ae39f16c752f936c1d365828708eb0c4 /include | |
parent | 7927266183583f1fa90323890b21d2c03ed244f6 (diff) | |
download | qemu-4485bd269c0e1c051d21d0196be89cdba23d9520.zip qemu-4485bd269c0e1c051d21d0196be89cdba23d9520.tar.gz qemu-4485bd269c0e1c051d21d0196be89cdba23d9520.tar.bz2 |
exec: don't include hw/boards for linux-user
As noted by Andreas, hw/boards.h shouldn't be used outside softmmu code.
Include it conditionally, and drop the (now unnecessary) ifdef guards in
hw/boards.h
Reported-by: Andreas Färber <afaerber@suse.de>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/boards.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index cd6deb0..f44d6f5 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -3,8 +3,6 @@ #ifndef HW_BOARDS_H #define HW_BOARDS_H -#if !defined(CONFIG_USER_ONLY) - #include "qemu/typedefs.h" #include "sysemu/blockdev.h" #include "sysemu/accel.h" @@ -158,5 +156,3 @@ struct MachineState { }; #endif - -#endif |