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

This fixes a -Wgnu-include-next warning

Patch by dmauro.

llvm-svn: 357267
This commit is contained in:
Eric Fiselier 2019-03-29 16:03:57 +00:00
parent 6a75c36ea9
commit 0706e144d5

View File

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