aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/ctype.h')
-rw-r--r--libcxx/include/ctype.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/include/ctype.h b/libcxx/include/ctype.h
index ba0925069c64..728173ed670f 100644
--- a/libcxx/include/ctype.h
+++ b/libcxx/include/ctype.h
@@ -35,7 +35,9 @@ int toupper(int c);
# pragma GCC system_header
#endif
-#include_next <ctype.h>
+#if __has_include_next(<ctype.h>)
+# include_next <ctype.h>
+#endif
#ifdef __cplusplus