diff options
Diffstat (limited to 'tensorflow/core/debug/debug_io_utils.cc')
-rw-r--r-- | tensorflow/core/debug/debug_io_utils.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/debug/debug_io_utils.cc b/tensorflow/core/debug/debug_io_utils.cc index 41868ce8da..4b5ecaa9b6 100644 --- a/tensorflow/core/debug/debug_io_utils.cc +++ b/tensorflow/core/debug/debug_io_utils.cc @@ -18,6 +18,12 @@ limitations under the License. #include <vector> #include "grpc++/create_channel.h" + +#if defined(PLATFORM_WINDOWS) +// winsock2.h is used in grpc, so Ws2_32.lib is needed +#pragma comment(lib,"Ws2_32.lib") +#endif + #include "tensorflow/core/debug/debug_service.grpc.pb.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/lib/io/path.h" |