From f1829782d6cb931973d71649f8ad1dad66188c34 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 7 Oct 2012 20:07:11 +0200 Subject: qemu-barrier: Fix compilation on i386 hosts Commit 1d31fca470648ec66afd8743491bfb5846306341 tried to fix bug introduced by 610b823ef66b993660f1ab1447a769f190e4f3b3 by including qemu-common.h, which breaks the build further. Include compiler.h instead, as suggested by Blue Swirl. Signed-off-by: Aurelien Jarno --- qemu-barrier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-barrier.h') diff --git a/qemu-barrier.h b/qemu-barrier.h index 1de914e..faa83d2 100644 --- a/qemu-barrier.h +++ b/qemu-barrier.h @@ -6,7 +6,7 @@ #if defined(__i386__) -#include "qemu-common.h" /* QEMU_GNUC_PREREQ */ +#include "compiler.h" /* QEMU_GNUC_PREREQ */ /* * Because of the strongly ordered x86 storage model, wmb() and rmb() are nops -- cgit v1.1