diff options
Diffstat (limited to 'qemu_socket.h')
-rw-r--r-- | qemu_socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h index 5229c24faa..ef2d88bfe9 100644 --- a/qemu_socket.h +++ b/qemu_socket.h @@ -14,11 +14,15 @@ #define EINTR WSAEINTR #define EINPROGRESS WSAEINPROGRESS +int inet_aton(const char *cp, struct in_addr *ia); + #else #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> +#include <arpa/inet.h> +#include <netdb.h> #include <sys/un.h> #define socket_error() errno |