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>
This commit is contained in:
Stefan Hajnoczi 2014-02-08 11:41:07 +01:00 committed by Andreas Färber
parent e41b509d68
commit 91f32b0c92
7 changed files with 21 additions and 19 deletions

View file

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