mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
e41b509d68
commit
91f32b0c92
7 changed files with 21 additions and 19 deletions
|
@ -10,7 +10,6 @@
|
|||
* See the COPYING file in the top-level directory.
|
||||
*
|
||||
*/
|
||||
#include "libqtest.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -18,6 +17,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libqtest.h"
|
||||
#include "qemu/bswap.h"
|
||||
|
||||
typedef struct TestCase TestCase;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue