aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/debug/debug_io_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/debug/debug_io_utils.cc')
-rw-r--r--tensorflow/core/debug/debug_io_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/debug/debug_io_utils.cc b/tensorflow/core/debug/debug_io_utils.cc
index 2be510ee9b..a79ea1b45d 100644
--- a/tensorflow/core/debug/debug_io_utils.cc
+++ b/tensorflow/core/debug/debug_io_utils.cc
@@ -17,7 +17,9 @@ limitations under the License.
#include <vector>
+#if defined(PLATFORM_GOOGLE)
#include "grpc++/create_channel.h"
+#endif
#if defined(PLATFORM_WINDOWS)
// winsock2.h is used in grpc, so Ws2_32.lib is needed