aboutsummaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-22 19:51:33 +0300
committerBlue Swirl <blauwirbel@gmail.com>2010-09-22 20:05:23 +0000
commit80bb8cba0af8a77341ef91ff9d5a2d84cad1880f (patch)
treea06c630fc2d9e92a7995e8648a6d09e733d968f1 /qemu_socket.h
parent687db4ed2ecd5fd74c94fbb420482823cca4ab7e (diff)
Fix OpenBSD build
Add #include <sys/types.h>, needed by #include <sys/socket.h>. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu_socket.h')
-rw-r--r--qemu_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index 164ae3eb4e..897a8ae50b 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -17,6 +17,7 @@ int inet_aton(const char *cp, struct in_addr *ia);
#else
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>