diff options
Diffstat (limited to 'test/src/fenv/feholdexcept_test.cpp')
-rw-r--r-- | test/src/fenv/feholdexcept_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/fenv/feholdexcept_test.cpp b/test/src/fenv/feholdexcept_test.cpp index 735c7705ff49..0689d89ab233 100644 --- a/test/src/fenv/feholdexcept_test.cpp +++ b/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) |