mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
fw_cfg: add required header files
If fw_cfg.h is included alone, gcc gives error messages like these: error: unknown type name ‘uint32_t’ error: unknown type name ‘size_t’ error: unknown type name ‘hwaddr’ ... Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: d63f8bcdbfbec8135b1b57f9247c513a3e25762c.1366945969.git.hutao@cn.fujitsu.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
eec3d2adc9
commit
1dfe5057e5
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
|||
#ifndef FW_CFG_H
|
||||
#define FW_CFG_H
|
||||
|
||||
#ifndef NO_QEMU_PROTOS
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "exec/hwaddr.h"
|
||||
#endif
|
||||
|
||||
#define FW_CFG_SIGNATURE 0x00
|
||||
#define FW_CFG_ID 0x01
|
||||
#define FW_CFG_UUID 0x02
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue