[libc-commits] [libc] [libc][fenv] Use proxy header (PR #88787)
Robin Caloudis via libc-commits
libc-commits at lists.llvm.org
Mon Apr 15 13:27:51 PDT 2024
https://github.com/robincaloudis created https://github.com/llvm/llvm-project/pull/88787
None
>From 7b11ca1be07e9b6e44c8a5dbda20f1e0ce0f03b5 Mon Sep 17 00:00:00 2001
From: Robin Caloudis <robin.caloudis at gmx.de>
Date: Mon, 15 Apr 2024 22:18:12 +0200
Subject: [PATCH] [libc][fenv] Use proxy header
---
libc/src/fenv/fegetexceptflag.h | 2 +-
libc/src/fenv/fesetexceptflag.h | 2 +-
libc/src/fenv/feupdateenv.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libc/src/fenv/fegetexceptflag.h b/libc/src/fenv/fegetexceptflag.h
index ad72161e536f83..fcb9598658d43b 100644
--- a/libc/src/fenv/fegetexceptflag.h
+++ b/libc/src/fenv/fegetexceptflag.h
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_SRC_FENV_FEGETEXCEPTFLAG_H
#define LLVM_LIBC_SRC_FENV_FEGETEXCEPTFLAG_H
-#include <fenv.h>
+#include "hdr/types/fexcept_t.h"
namespace LIBC_NAMESPACE {
diff --git a/libc/src/fenv/fesetexceptflag.h b/libc/src/fenv/fesetexceptflag.h
index 15e62eda1b840c..a018358dc9dfcc 100644
--- a/libc/src/fenv/fesetexceptflag.h
+++ b/libc/src/fenv/fesetexceptflag.h
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
#define LLVM_LIBC_SRC_FENV_FESETEXCEPTFLAG_H
-#include <fenv.h>
+#include "hdr/types/fexcept_t.h"
namespace LIBC_NAMESPACE {
diff --git a/libc/src/fenv/feupdateenv.cpp b/libc/src/fenv/feupdateenv.cpp
index 7e81b9476da91b..06648635381555 100644
--- a/libc/src/fenv/feupdateenv.cpp
+++ b/libc/src/fenv/feupdateenv.cpp
@@ -10,7 +10,7 @@
#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/common.h"
-#include <fenv.h>
+#include "hdr/types/fenv_t.h"
namespace LIBC_NAMESPACE {
More information about the libc-commits
mailing list