Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Unified Diff: net/socket/client_socket.h

Issue 556068: BSD port: USE_NSS and other macros instead of OS_LINUX where applicable (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698