qemu-barrier: Fix compilation on i386 hosts

Commit 1d31fca470 tried to fix bug
introduced by 610b823ef6 by including
qemu-common.h, which breaks the build further.

Include compiler.h instead, as suggested by Blue Swirl.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2012-10-07 20:07:11 +02:00
parent 046dbab95f
commit f1829782d6

View File

@ -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