aboutsummaryrefslogtreecommitdiff
path: root/host-utils.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-09-16 22:03:07 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-23 11:51:05 -0500
commitf8b72754c21789293eb655641459ab43ebd69c66 (patch)
tree2eba7c233b61c71308055adc3b56f643ac543755 /host-utils.h
parentffe3ce1173e71ca299d08f6542839cc31ea3e3cf (diff)
Move macro QEMU_GNUC_PREREQ to compiler.h
The macro is compiler specific and does not depend on the operating system. Move macro QEMU_GNUC_PREREQ from osdep.h to compiler.h and use it to simplify existing code. host-utils.h uses this macro, so it now needs compiler.h instead of osdep.h. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'host-utils.h')
-rw-r--r--host-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/host-utils.h b/host-utils.h
index 0ddc176582..821db93671 100644
--- a/host-utils.h
+++ b/host-utils.h
@@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
-#include "osdep.h"
+#include "compiler.h" /* QEMU_GNUC_PREREQ */
#if defined(__x86_64__)
#define __HAVE_FAST_MULU64__