summaryrefslogtreecommitdiffstats
path: root/tests/libqos/i2c.c
diff options
context:
space:
mode:
authorPeter Maydell2016-02-08 19:08:51 +0100
committerPeter Maydell2016-02-16 15:29:27 +0100
commit681c28a33e305923a717815808056d2d5a89c8f9 (patch)
tree1917eef57033f4efb2638a584b2914112219ad41 /tests/libqos/i2c.c
parenttests/i440fx-test: Don't define ARRAY_SIZE locally (diff)
downloadqemu-681c28a33e305923a717815808056d2d5a89c8f9.tar.gz
qemu-681c28a33e305923a717815808056d2d5a89c8f9.tar.xz
qemu-681c28a33e305923a717815808056d2d5a89c8f9.zip
tests: 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 <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/libqos/i2c.c')
-rw-r--r--tests/libqos/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libqos/i2c.c b/tests/libqos/i2c.c
index da7592f713..23bc2a3eb2 100644
--- a/tests/libqos/i2c.c
+++ b/tests/libqos/i2c.c
@@ -6,6 +6,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "libqos/i2c.h"
#include "libqtest.h"