fix windows build
diff --git a/include/grpc/grpc_posix.h b/include/grpc/grpc_posix.h
index cff0900..9742b83 100644
--- a/include/grpc/grpc_posix.h
+++ b/include/grpc/grpc_posix.h
@@ -49,8 +49,6 @@
* functionality on top of GRPC Core.
*/
-#ifdef GPR_SUPPORT_CHANNELS_FROM_FD
-
/** Create a client channel to 'target' using file descriptor 'fd'. The 'target'
argument will be used to indicate the name for this channel. See the comment
for grpc_insecure_channel_create for description of 'args' argument. */
@@ -65,8 +63,6 @@
grpc_completion_queue *cq,
int fd);
-#endif // GPR_SUPPORT_CHANNELS_FROM_FD
-
#ifdef __cplusplus
}
#endif
diff --git a/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c b/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c
index 313e9b9..b1c7a38 100644
--- a/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c
+++ b/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c
@@ -31,12 +31,12 @@
*
*/
+#include <grpc/grpc.h>
+#include <grpc/grpc_posix.h>
#include <grpc/support/port_platform.h>
#ifdef GPR_SUPPORT_CHANNELS_FROM_FD
-#include <grpc/grpc.h>
-#include <grpc/grpc_posix.h>
#include <grpc/support/string_util.h>
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"