diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-02 23:26:13 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-02 23:26:13 +0000 |
commit | d317b92da04657fb5a76e2b3e7806bddbf2c621b (patch) | |
tree | b2793daff707aa40363951bace95367ea075268e /hw | |
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
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pcnet.c | 4 |
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" |