summaryrefslogtreecommitdiff
path: root/libc/test/src/fenv/feholdexcept_test.cpp
diff options
context:
space:
mode:
authorJob Henandez Lara <hj93@protonmail.com>2024-04-15 11:45:16 -0700
committerGitHub <noreply@github.com>2024-04-15 11:45:16 -0700
commit75bbf4dd7cfda744d4a2487cfd06a58194d02db3 (patch)
tree39b682c5a42f5f17e26ccccb28f4faeda6485737 /libc/test/src/fenv/feholdexcept_test.cpp
parent58c5f50f4c73945fdc5440dee2fba03267a460d4 (diff)
[libc] Add proxy headers for fenv types. (#88467)
Fixes #88187
Diffstat (limited to 'libc/test/src/fenv/feholdexcept_test.cpp')
-rw-r--r--libc/test/src/fenv/feholdexcept_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/test/src/fenv/feholdexcept_test.cpp b/libc/test/src/fenv/feholdexcept_test.cpp
index 735c7705ff49..0689d89ab233 100644
--- a/libc/test/src/fenv/feholdexcept_test.cpp
+++ b/libc/test/src/fenv/feholdexcept_test.cpp
@@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//
+#include "hdr/types/fenv_t.h"
#include "src/fenv/feholdexcept.h"
#include "src/__support/FPUtil/FEnvImpl.h"
@@ -13,8 +14,6 @@
#include "test/UnitTest/FPExceptMatcher.h"
#include "test/UnitTest/Test.h"
-#include <fenv.h>
-
TEST(LlvmLibcFEnvTest, RaiseAndCrash) {
#if defined(LIBC_TARGET_ARCH_IS_ANY_ARM) || \
defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)