commit | d317b92da04657fb5a76e2b3e7806bddbf2c621b | [log] [tgz] |
---|---|---|
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | Tue Sep 02 23:26:13 2008 +0000 |
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | Tue Sep 02 23:26:13 2008 +0000 |
tree | b2793daff707aa40363951bace95367ea075268e | |
parent | f8a6ec58177851b4f99bde73324376c09b566e33 [diff] |
hw/pcnet.c: windows compile fix (Eduardo Felipe) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5140 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/hw/pcnet.c b/hw/pcnet.c index 9970348..3cd6031 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"