summaryrefslogtreecommitdiff
path: root/hw/pcnet.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-02 23:26:13 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-02 23:26:13 +0000
commitd317b92da04657fb5a76e2b3e7806bddbf2c621b (patch)
treeb2793daff707aa40363951bace95367ea075268e /hw/pcnet.c
parentf8a6ec58177851b4f99bde73324376c09b566e33 (diff)
downloadqemu-d317b92da04657fb5a76e2b3e7806bddbf2c621b.tar.gz
hw/pcnet.c: windows compile fix
(Eduardo Felipe) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5140 c046a42c-6fe2-441c-8c8c-71466251a162
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"