Browse Source

Mark fenv.h as a system header before the #include_next directive

This fixes a -Wgnu-include-next warning

Patch by dmauro.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@357267 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 6 years ago
parent
commit
aebb09cfdb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/fenv.h

+ 2 - 1
include/fenv.h

@@ -51,12 +51,13 @@ int feupdateenv(const fenv_t* envp);
 */
 */
 
 
 #include <__config>
 #include <__config>
-#include_next <fenv.h>
 
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header
 #pragma GCC system_header
 #endif
 #endif
 
 
+#include_next <fenv.h>
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 
 
 extern "C++" {
 extern "C++" {