aboutsummaryrefslogtreecommitdiffstats
path: root/qemu_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu_socket.h')
-rw-r--r--qemu_socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index 5229c24fa..ef2d88bfe 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