diff --git a/libc/src/__support/CPP/UInt.h b/libc/src/__support/CPP/UInt.h --- a/libc/src/__support/CPP/UInt.h +++ b/libc/src/__support/CPP/UInt.h @@ -9,7 +9,7 @@ #ifndef LLVM_LIBC_UTILS_CPP_UINT_H #define LLVM_LIBC_UTILS_CPP_UINT_H -#include "src/__support/CPP/Array.h" +#include "Array.h" #include // For size_t #include diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -80,12 +80,20 @@ deps = [":libc_root"], ) +cc_library( + name = "__support_cpp_uint", + hdrs = [ + "src/__support/CPP/UInt.h", + ], + deps = [":libc_root","__support_cpp_array"], +) + cc_library( name = "__support_cpp_type_traits", hdrs = [ "src/__support/CPP/TypeTraits.h", ], - deps = [":libc_root"], + deps = [":libc_root","__support_cpp_uint"], ) cc_library(