aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/qemu/osdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 7c3a07388c..4538fdca42 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -26,6 +26,9 @@
#define QEMU_OSDEP_H
#include "config-host.h"
+#ifdef NEED_CPU_H
+#include "config-target.h"
+#endif
#include "qemu/compiler.h"
/* Older versions of C++ don't get definitions of various macros from