diff --git a/absl/types/BUILD.bazel b/absl/types/BUILD.bazel index 4acbbd37..cac5e4b1 100644 --- a/absl/types/BUILD.bazel +++ b/absl/types/BUILD.bazel @@ -100,6 +100,7 @@ cc_library( linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ "//absl/base:config", + "//absl/utility", ], ) diff --git a/absl/types/CMakeLists.txt b/absl/types/CMakeLists.txt index a4424488..20a7e90e 100644 --- a/absl/types/CMakeLists.txt +++ b/absl/types/CMakeLists.txt @@ -98,6 +98,7 @@ absl_cc_library( ${ABSL_DEFAULT_COPTS} DEPS absl::config + absl::utility PUBLIC ) diff --git a/absl/types/optional.h b/absl/types/optional.h index 1542d252..5b68a5be 100644 --- a/absl/types/optional.h +++ b/absl/types/optional.h @@ -26,6 +26,7 @@ #include #include "absl/base/config.h" +#include "absl/utility/utility.h" namespace absl { ABSL_NAMESPACE_BEGIN