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 164ae3eb4edd59fbd09eeceb7637d39a16432dd8..897a8ae50bbf72ca902a7dda4d0acf92be87a262 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>