mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
slirp: fix build on mingw32
in_addr_t isn't available on mingw32. Just use an unsigned long instead. I considered typedef'ing in_addr_t on mingw32 but this would potentially be brittle if mingw32 did introduce the type. Cc: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
26b9b5fe17
commit
0b8db8fe15
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ extern char *exec_shell;
|
|||
extern u_int curtime;
|
||||
extern fd_set *global_readfds, *global_writefds, *global_xfds;
|
||||
extern struct in_addr loopback_addr;
|
||||
extern in_addr_t loopback_mask;
|
||||
extern unsigned long loopback_mask;
|
||||
extern char *username;
|
||||
extern char *socket_path;
|
||||
extern int towrite_max;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue