slirp: fix build on mingw32
commit0b8db8fe15d17a529a5ea90614c11e9f031dfee8
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 7 Aug 2012 00:31:55 +0000 (6 19:31 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 7 Aug 2012 00:31:55 +0000 (6 19:31 -0500)
tree47aa6488a762eed15cec747aecd764d15946b76e
parent26b9b5fe17cc1b6be2e8bf8b9d16094f420bb8ad
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>
slirp/main.h
slirp/slirp.c