mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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,8 +10,6 @@
|
|||
* See the COPYING file in the top-level directory.
|
||||
*
|
||||
*/
|
||||
#include "libqtest.h"
|
||||
#include "hw/timer/mc146818rtc_regs.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
|
@ -19,6 +17,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libqtest.h"
|
||||
#include "hw/timer/mc146818rtc_regs.h"
|
||||
|
||||
static uint8_t base = 0x70;
|
||||
|
||||
static int bcd2dec(int value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue