aboutsummaryrefslogtreecommitdiff
path: root/slirp/libslirp.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-12 22:33:07 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-12 22:33:07 +0000
commit379ff53dc964ee1dc9442dac230c87a595e06a12 (patch)
treee95b6fe5abe71414f507d85ebcfea63b3d2468b3 /slirp/libslirp.h
parentce93da6ffee7f27044c5b49b096ebdec27075110 (diff)
win32 compile
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1016 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/libslirp.h')
-rw-r--r--slirp/libslirp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 31ddaea4d5..47824b2413 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -1,7 +1,11 @@
#ifndef _LIBSLIRP_H
#define _LIBSLIRP_H
+#ifdef _WIN32
+#include <winsock2.h>
+#else
#include <sys/select.h>
+#endif
void slirp_init(void);