Fix OpenBSD build
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 22 Sep 2010 16:51:33 +0000 (19:51 +0300)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 22 Sep 2010 20:05:23 +0000 (20:05 +0000)
Add #include <sys/types.h>, needed by #include <sys/socket.h>.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu_socket.h

index 164ae3e..897a8ae 100644 (file)
@@ -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>