[libc-commits] [libc] f024708 - Fix after #121482 (#121764)
via libc-commits
libc-commits at lists.llvm.org
Mon Jan 6 05:17:40 PST 2025
Author: JoelWee
Date: 2025-01-06T13:17:37Z
New Revision: f0247081faac6b4c0cbaa1540fc9c10756e5a42e
URL: https://github.com/llvm/llvm-project/commit/f0247081faac6b4c0cbaa1540fc9c10756e5a42e
DIFF: https://github.com/llvm/llvm-project/commit/f0247081faac6b4c0cbaa1540fc9c10756e5a42e.diff
LOG: Fix after #121482 (#121764)
Added:
Modified:
libc/src/stdlib/qsort_pivot.h
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Removed:
################################################################################
diff --git a/libc/src/stdlib/qsort_pivot.h b/libc/src/stdlib/qsort_pivot.h
index b7e1b4294f6d61..b27e74663d901e 100644
--- a/libc/src/stdlib/qsort_pivot.h
+++ b/libc/src/stdlib/qsort_pivot.h
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_SRC_STDLIB_QSORT_PIVOT_H
#define LLVM_LIBC_SRC_STDLIB_QSORT_PIVOT_H
-#include <stdint.h>
+#include <stddef.h> // For size_t
namespace LIBC_NAMESPACE_DECL {
namespace internal {
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 15fa4123b75fe1..81309f1e373ac6 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -3481,11 +3481,13 @@ libc_support_library(
hdrs = [
"src/stdlib/heap_sort.h",
"src/stdlib/qsort_data.h",
+ "src/stdlib/qsort_pivot.h",
"src/stdlib/qsort_util.h",
"src/stdlib/quick_sort.h",
],
deps = [
":__support_common",
+ ":__support_cpp_bit",
":__support_cpp_cstddef",
":__support_macros_attributes",
],
More information about the libc-commits
mailing list