From d78b3159353e7ed0d43aa28fe6b276b502d4cc63 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Thu, 29 Jul 2010 18:43:15 +0000 Subject: [PATCH] Make complex.h play nice with C git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@109791 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/complex.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/complex.h b/include/complex.h index ae260c218..95aaa71ef 100644 --- a/include/complex.h +++ b/include/complex.h @@ -18,8 +18,16 @@ */ +#ifdef __cplusplus + #include +#else + +#include_next + +#endif + #pragma GCC system_header #endif // _LIBCPP_COMPLEX_H