Remove unnecessary includes in threadpool_std_thread_impl.cc.

The windows.h was causing conflicts with LOG. Also the the posix headers weren't needed because the code doesn't use OS specific code anymore.

PiperOrigin-RevId: 561848229
This commit is contained in:
MediaPipe Team 2023-08-31 21:50:07 -07:00 committed by Copybara-Service
parent 9bb852c33d
commit dea6ccba25

View File

@ -17,18 +17,10 @@
#include <thread> // NOLINT(build/c++11) #include <thread> // NOLINT(build/c++11)
#include "mediapipe/framework/deps/threadpool.h"
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/syscall.h>
#include <unistd.h>
#endif
#include "absl/log/absl_log.h" #include "absl/log/absl_log.h"
#include "absl/strings/str_cat.h" #include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h" #include "absl/strings/str_join.h"
#include "mediapipe/framework/deps/threadpool.h"
namespace mediapipe { namespace mediapipe {