Index: net/socket/client_socket.h |
=================================================================== |
--- net/socket/client_socket.h (revision 37474) |
+++ net/socket/client_socket.h (working copy) |
@@ -8,7 +8,8 @@ |
#include "build/build_config.h" |
// For struct sockaddr and socklen_t. |
-#if defined(OS_LINUX) || defined(OS_MACOSX) |
+#if defined(OS_POSIX) |
+#include <sys/types.h> |
wtc
2010/01/30 00:09:16
<sys/types.h> should not need to be included for
<
Peter Valchev
2010/02/01 19:12:18
It is still required both on OpenBSD and FreeBSD:
|
#include <sys/socket.h> |
#elif defined(OS_WIN) |
#include <ws2tcpip.h> |