From 0430891ce162b986c6e02a7729a942ecd2a32ca4 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:30 +0000 Subject: hw: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Message-id: 1453832250-766-38-git-send-email-peter.maydell@linaro.org --- hw/i2c/bitbang_i2c.c | 1 + hw/i2c/core.c | 1 + hw/i2c/smbus.c | 1 + hw/i2c/smbus_eeprom.c | 1 + 4 files changed, 4 insertions(+) (limited to 'hw/i2c') diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index 6d1bb03d6c..6ed2060203 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -9,6 +9,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "bitbang_i2c.h" #include "hw/sysbus.h" diff --git a/hw/i2c/core.c b/hw/i2c/core.c index 5a64026347..ba22104af8 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -7,6 +7,7 @@ * This code is licensed under the LGPL. */ +#include "qemu/osdep.h" #include "hw/i2c/i2c.h" struct I2CBus diff --git a/hw/i2c/smbus.c b/hw/i2c/smbus.c index 6e27ae8bd2..3979b3dad7 100644 --- a/hw/i2c/smbus.c +++ b/hw/i2c/smbus.c @@ -9,6 +9,7 @@ /* TODO: Implement PEC. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus.h" diff --git a/hw/i2c/smbus_eeprom.c b/hw/i2c/smbus_eeprom.c index 72c09cba6b..5b7bd891bc 100644 --- a/hw/i2c/smbus_eeprom.c +++ b/hw/i2c/smbus_eeprom.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus.h" -- cgit v1.2.3-55-g7522