diff --git a/torch/csrc/distributed/c10d/socket.cpp b/torch/csrc/distributed/c10d/socket.cpp index 51ea05fa..3c3fbb39 100644 --- a/torch/csrc/distributed/c10d/socket.cpp +++ b/torch/csrc/distributed/c10d/socket.cpp @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/torch/csrc/profiler/standalone/execution_trace_observer.cpp b/torch/csrc/profiler/standalone/execution_trace_observer.cpp index 93d9e2d1..ea241a8b 100644 --- a/torch/csrc/profiler/standalone/execution_trace_observer.cpp +++ b/torch/csrc/profiler/standalone/execution_trace_observer.cpp @@ -10,6 +10,7 @@ #endif // _WIN32 #include +#include #include #include #include diff --git a/torch/csrc/profiler/util.cpp b/torch/csrc/profiler/util.cpp index 180555f9..1358c9ab 100644 --- a/torch/csrc/profiler/util.cpp +++ b/torch/csrc/profiler/util.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #ifdef USE_KINETO #include