diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-22 19:51:33 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-22 20:05:23 +0000 |
commit | 80bb8cba0af8a77341ef91ff9d5a2d84cad1880f (patch) | |
tree | a06c630fc2d9e92a7995e8648a6d09e733d968f1 | |
parent | 687db4ed2ecd5fd74c94fbb420482823cca4ab7e (diff) |
Fix OpenBSD build
Add #include <sys/types.h>, needed by #include <sys/socket.h>.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | qemu_socket.h | 1 |
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> |