aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/iomgr_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/iomgr/iomgr_posix.c')
-rw-r--r--src/core/iomgr/iomgr_posix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/iomgr/iomgr_posix.c b/src/core/iomgr/iomgr_posix.c
index 9297f08e99..bbf8cfc419 100644
--- a/src/core/iomgr/iomgr_posix.c
+++ b/src/core/iomgr/iomgr_posix.c
@@ -31,6 +31,10 @@
*
*/
+#include <grpc/support/port_platform.h>
+
+#ifdef GPR_POSIX_SOCKET
+
#include "src/core/iomgr/iomgr_posix.h"
#include "src/core/iomgr/fd_posix.h"
@@ -43,3 +47,5 @@ void grpc_iomgr_platform_shutdown(void) {
grpc_pollset_global_shutdown();
grpc_fd_global_shutdown();
}
+
+#endif /* GRPC_POSIX_SOCKET */