summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-03-29 16:03:57 +0000
committerEric Fiselier <eric@efcs.ca>2019-03-29 16:03:57 +0000
commit0706e144d57305782988dd4367530ae04986116f (patch)
tree6a5054f6fbb2b7fc4d4bc6041a63d785e1088e83
parent6a75c36ea9bd2bbc8b58fa8732a843477a5fbd69 (diff)
downloadbcm5719-llvm-0706e144d57305782988dd4367530ae04986116f.tar.gz
bcm5719-llvm-0706e144d57305782988dd4367530ae04986116f.zip
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
-rw-r--r--libcxx/include/fenv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/fenv.h b/libcxx/include/fenv.h
index 7cede4b347c..988cd9b112f 100644
--- a/libcxx/include/fenv.h
+++ b/libcxx/include/fenv.h
@@ -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++" {
OpenPOWER on IntegriCloud