diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-08 11:41:07 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-17 23:10:02 +0100 |
commit | 91f32b0c92fb18a403e48d3c8ffc14422a0c1ca5 (patch) | |
tree | c1777d672e179300205f792840bc9a2ada3d8670 /tests/tmp105-test.c | |
parent | e41b509d68afb1f329c8558b6edfe2fcbac88e66 (diff) | |
download | qemu-91f32b0c92fb18a403e48d3c8ffc14422a0c1ca5.zip qemu-91f32b0c92fb18a403e48d3c8ffc14422a0c1ca5.tar.gz qemu-91f32b0c92fb18a403e48d3c8ffc14422a0c1ca5.tar.bz2 |
qtest: Include system headers before user headers
It is dangerous to include user headers before system headers since user
macros can affect system headers.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'tests/tmp105-test.c')
-rw-r--r-- | tests/tmp105-test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tmp105-test.c b/tests/tmp105-test.c index 5ac48e2..0834219 100644 --- a/tests/tmp105-test.c +++ b/tests/tmp105-test.c @@ -6,12 +6,13 @@ * 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 <glib.h> + #include "libqtest.h" #include "libqos/i2c.h" #include "hw/misc/tmp105_regs.h" -#include <glib.h> - #define OMAP2_I2C_1_BASE 0x48070000 #define N8X0_ADDR 0x48 |