aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2023-12-04 11:02:03 -0800
committerGitHub <noreply@github.com>2023-12-04 11:02:03 -0800
commitc33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694 (patch)
tree5fcf249c593e18e52f02b44ad02d98e4625e1c69
parente893f69545148c723a8b51d0975eb0142de86c62 (diff)
downloadllvm-c33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694.zip
llvm-c33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694.tar.gz
llvm-c33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694.tar.bz2
[libc] Add the missing math_extras.h include (#74259)
math_extras.h is used in integer_utils.h when building for 32-bit platforms but the include is missing.
-rw-r--r--libc/src/__support/CMakeLists.txt1
-rw-r--r--libc/src/__support/integer_utils.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/src/__support/CMakeLists.txt b/libc/src/__support/CMakeLists.txt
index ba80965..d6dbad6 100644
--- a/libc/src/__support/CMakeLists.txt
+++ b/libc/src/__support/CMakeLists.txt
@@ -189,6 +189,7 @@ add_header_library(
integer_utils.h
DEPENDS
.bit
+ .math_extras
.number_pair
libc.src.__support.common
libc.src.__support.CPP.type_traits
diff --git a/libc/src/__support/integer_utils.h b/libc/src/__support/integer_utils.h
index 433e992..661318f 100644
--- a/libc/src/__support/integer_utils.h
+++ b/libc/src/__support/integer_utils.h
@@ -13,6 +13,7 @@
#include "src/__support/common.h"
#include "bit.h"
+#include "math_extras.h"
#include "number_pair.h"
#include <stdint.h>