diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-06 19:31:55 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-06 19:31:55 -0500 |
commit | d4ac79c980eb02a0fa0e3f60e300473f9242ab8a (patch) | |
tree | 5cdfe4ee8fb91bbbbc53fbb1c92c71e3111404a6 /slirp.c | |
parent | afe63a1de4dac354e3bbadff0aa3b7a343ef4ede (diff) | |
download | slirp-d4ac79c980eb02a0fa0e3f60e300473f9242ab8a.zip slirp-d4ac79c980eb02a0fa0e3f60e300473f9242ab8a.tar.gz slirp-d4ac79c980eb02a0fa0e3f60e300473f9242ab8a.tar.bz2 |
slirp: fix build on mingw32v1.2.0-rc3v1.2.0-rc2v1.2.0-rc1v1.2.0-rc0v1.2.0
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>
Diffstat (limited to 'slirp.c')
-rw-r--r-- | slirp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ /* host loopback address */ struct in_addr loopback_addr; /* host loopback network mask */ -in_addr_t loopback_mask; +unsigned long loopback_mask; /* emulated hosts use the MAC addr 52:55:IP:IP:IP:IP */ static const uint8_t special_ethaddr[ETH_ALEN] = { 0x52, 0x55, 0x00, |