Commit 841c26a0c7d0ed0b1634d3b991a9d6582aad3f0d
1 parent
e83ce550
hw/pcnet: use qemu_socket.h
(Jan Kiszka) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5149 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
6 deletions
hw/pcnet.c
| @@ -35,16 +35,11 @@ | @@ -35,16 +35,11 @@ | ||
| 35 | * http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt | 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 | ||
| 41 | -#include <netinet/in.h> | ||
| 42 | -#endif | ||
| 43 | - | ||
| 44 | #include "hw.h" | 38 | #include "hw.h" |
| 45 | #include "pci.h" | 39 | #include "pci.h" |
| 46 | #include "net.h" | 40 | #include "net.h" |
| 47 | #include "qemu-timer.h" | 41 | #include "qemu-timer.h" |
| 42 | +#include "qemu_socket.h" | ||
| 48 | 43 | ||
| 49 | //#define PCNET_DEBUG | 44 | //#define PCNET_DEBUG |
| 50 | //#define PCNET_DEBUG_IO | 45 | //#define PCNET_DEBUG_IO |