aboutsummaryrefslogtreecommitdiff
path: root/include/hw/boards.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r--include/hw/boards.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 1f21bdf7ee..0bf00f7717 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -3,6 +3,8 @@
#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"
@@ -154,3 +156,5 @@ struct MachineState {
};
#endif
+
+#endif