diff --git a/ortools/base/BUILD.bazel b/ortools/base/BUILD.bazel index 48d34680dd..ce13e31871 100644 --- a/ortools/base/BUILD.bazel +++ b/ortools/base/BUILD.bazel @@ -186,6 +186,7 @@ cc_library( deps = [ ":base", ":logging", + "@abseil-cpp//absl/strings", ], ) diff --git a/ortools/util/BUILD.bazel b/ortools/util/BUILD.bazel index 5615de5221..2818939d83 100644 --- a/ortools/util/BUILD.bazel +++ b/ortools/util/BUILD.bazel @@ -562,5 +562,7 @@ cc_library( cc_library( name = "scheduling", hdrs = ["scheduling.h"], - deps = ["@abseil-cpp//absl/log:check"], + deps = [ + "@abseil-cpp//absl/log:check", + ], ) diff --git a/ortools/util/time_limit.cc b/ortools/util/time_limit.cc index 8950100531..d856e404b6 100644 --- a/ortools/util/time_limit.cc +++ b/ortools/util/time_limit.cc @@ -19,8 +19,6 @@ #include #include -#include "absl/flags/flag.h" -#include "absl/log/die_if_null.h" #include "absl/strings/str_cat.h" ABSL_FLAG(bool, time_limit_use_usertime, false, diff --git a/ortools/util/time_limit.h b/ortools/util/time_limit.h index 5a847d0aee..799250c982 100644 --- a/ortools/util/time_limit.h +++ b/ortools/util/time_limit.h @@ -27,7 +27,6 @@ #include "absl/flags/declare.h" #include "absl/flags/flag.h" #include "absl/log/check.h" -#include "absl/log/log.h" #include "absl/synchronization/mutex.h" #include "absl/time/clock.h" #include "absl/time/time.h"