aboutsummaryrefslogtreecommitdiff
path: root/qemu-barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-barrier.h')
-rw-r--r--qemu-barrier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-barrier.h b/qemu-barrier.h
index 16f09429c3..1de914e882 100644
--- a/qemu-barrier.h
+++ b/qemu-barrier.h
@@ -6,6 +6,8 @@
#if defined(__i386__)
+#include "qemu-common.h" /* QEMU_GNUC_PREREQ */
+
/*
* Because of the strongly ordered x86 storage model, wmb() and rmb() are nops
* on x86(well, a compiler barrier only). Well, at least as long as