]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - exec.c
exec: don't include hw/boards for linux-user
[thirdparty/qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index fe64009f0ce89e0b9f2e6565ffb5164e3a176ebe..bc37c7b485233d663053e5a14221df362fff8c9d 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -26,7 +26,9 @@
 #include "cpu.h"
 #include "tcg.h"
 #include "hw/hw.h"
+#if !defined(CONFIG_USER_ONLY)
 #include "hw/boards.h"
+#endif
 #include "hw/qdev.h"
 #include "qemu/osdep.h"
 #include "sysemu/kvm.h"