Move network related includes to vl.c to help SLIRP-less builds.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3167 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-09-13 12:39:35 +00:00
parent 8c05dbf9b6
commit cb4b976b82
2 changed files with 5 additions and 9 deletions

View file

@ -1,14 +1,6 @@
#ifndef _LIBSLIRP_H
#define _LIBSLIRP_H
#ifdef _WIN32
#include <winsock2.h>
int inet_aton(const char *cp, struct in_addr *ia);
#else
#include <sys/select.h>
#include <arpa/inet.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif