From 379ff53dc964ee1dc9442dac230c87a595e06a12 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 12 Jul 2004 22:33:07 +0000 Subject: win32 compile git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1016 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slirp/socket.c') diff --git a/slirp/socket.c b/slirp/socket.c index 396fb4a..7286b5e 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -418,7 +418,7 @@ sorecvfrom(so) */ len = M_FREEROOM(m); /* if (so->so_fport != htons(53)) { */ - ioctl(so->s, FIONREAD, &n); + ioctlsocket(so->s, FIONREAD, &n); if (n > len) { n = (m->m_data - m->m_dat) + m->m_len + n + 1; -- cgit v1.1