Skip to content

Commit 55d4a89

Browse files
[libc] fix FEnvImpl not using the proxy header (#89303)
In the recent fenv.h header cleanup, two FEnvImpl.h files were missed, causing build issues. This patch fixes that.
1 parent 6b38936 commit 55d4a89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/src/__support/FPUtil/FEnvImpl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
#ifndef LLVM_LIBC_SRC___SUPPORT_FPUTIL_FENVIMPL_H
1010
#define LLVM_LIBC_SRC___SUPPORT_FPUTIL_FENVIMPL_H
1111

12+
#include "hdr/fenv_macros.h"
1213
#include "hdr/math_macros.h"
14+
#include "hdr/types/fenv_t.h"
1315
#include "src/__support/macros/attributes.h" // LIBC_INLINE
1416
#include "src/__support/macros/properties/architectures.h"
1517
#include "src/errno/libc_errno.h"
16-
#include <fenv.h>
1718

1819
#if defined(LIBC_TARGET_ARCH_IS_AARCH64)
1920
#if defined(__APPLE__)

libc/src/__support/FPUtil/riscv/FEnvImpl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "src/__support/macros/attributes.h" // For LIBC_INLINE_ASM
1616
#include "src/__support/macros/config.h" // For LIBC_INLINE
1717

18-
#include <fenv.h>
1918
#include <stdint.h>
2019

2120
namespace LIBC_NAMESPACE {

0 commit comments

Comments
 (0)