summaryrefslogtreecommitdiff
path: root/base/socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/socket.cc')
-rw-r--r--base/socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/socket.cc b/base/socket.cc
index ee87dc057..c2e9e70e0 100644
--- a/base/socket.cc
+++ b/base/socket.cc
@@ -93,7 +93,7 @@ ListenSocket::listen(int port, bool reuse)
return true;
}
-#if !defined(__OpenBSD__) && !defined(linux)
+#if defined(__APPLE__)
typedef int socklen_t;
#endif