diff options
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/socket.c | 1 | ||||
-rw-r--r-- | slirp/socket.h | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/slirp/socket.c b/slirp/socket.c index 7bc0dc5f32..75f98fd40b 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -11,6 +11,7 @@ #ifdef __sun__ #include <sys/filio.h> #endif +#include "qemu-common.h" static void sofcantrcvmore(struct socket *so); static void sofcantsendmore(struct socket *so); diff --git a/slirp/socket.h b/slirp/socket.h index 94fb8d8cf2..5edea90c93 100644 --- a/slirp/socket.h +++ b/slirp/socket.h @@ -73,14 +73,6 @@ struct socket { extern struct socket tcb; - -#if defined(DECLARE_IOVEC) && !defined(HAVE_READV) -struct iovec { - char *iov_base; - size_t iov_len; -}; -#endif - struct socket * solookup _P((struct socket *, struct in_addr, u_int, struct in_addr, u_int)); struct socket * socreate _P((void)); void sofree _P((struct socket *)); |