Commit d317b92da04657fb5a76e2b3e7806bddbf2c621b

Authored by aurel32
1 parent f8a6ec58

hw/pcnet.c: windows compile fix

(Eduardo Felipe)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5140 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
hw/pcnet.c
... ... @@ -35,7 +35,11 @@
35 35 * http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt
36 36 */
37 37  
  38 +#ifdef _WIN32
  39 +#include <winsock2.h>
  40 +#else
38 41 #include <netinet/in.h>
  42 +#endif
39 43  
40 44 #include "hw.h"
41 45 #include "pci.h"
... ...