aboutsummaryrefslogtreecommitdiff
path: root/slirp/libslirp.h
diff options
context:
space:
mode:
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);