aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/fd_posix.c
diff options
context:
space:
mode:
authorGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-23 09:11:39 -0800
committerGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-23 09:11:39 -0800
commitd10c0abaf646f7635c1c0cb292c44036c6b64c05 (patch)
tree7553a277e129ee2e03782f5c1f6460219cfbc7ab /src/core/iomgr/fd_posix.c
parentb2c86aa8c4a0833fb434e679d2a7dbc93e6fc670 (diff)
parentac139dead15bf9cb8da75340c6fb93225a11ef7c (diff)
Merge branch 'master' of github.com:google/grpc into merge_new_invoke_api
Diffstat (limited to 'src/core/iomgr/fd_posix.c')
-rw-r--r--src/core/iomgr/fd_posix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/iomgr/fd_posix.c b/src/core/iomgr/fd_posix.c
index 3cd2f9a8e0..9f70a26c64 100644
--- a/src/core/iomgr/fd_posix.c
+++ b/src/core/iomgr/fd_posix.c
@@ -31,6 +31,10 @@
*
*/
+#include <grpc/support/port_platform.h>
+
+#ifdef GPR_POSIX_SOCKET
+
#include "src/core/iomgr/fd_posix.h"
#include <assert.h>
@@ -272,3 +276,5 @@ void grpc_fd_become_readable(grpc_fd *fd, int allow_synchronous_callback) {
void grpc_fd_become_writable(grpc_fd *fd, int allow_synchronous_callback) {
set_ready(fd, &fd->writest, allow_synchronous_callback);
}
+
+#endif