aboutsummaryrefslogtreecommitdiff
path: root/hw/pcnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pcnet.c')
-rw-r--r--hw/pcnet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pcnet.c b/hw/pcnet.c
index 99703480fd..3cd6031e13 100644
--- a/hw/pcnet.c
+++ b/hw/pcnet.c
@@ -35,7 +35,11 @@
* http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt
*/
+#ifdef _WIN32
+#include <winsock2.h>
+#else
#include <netinet/in.h>
+#endif
#include "hw.h"
#include "pci.h"