summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__debug
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__debug')
-rw-r--r--libcxx/include/__debug4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__debug b/libcxx/include/__debug
index 2a457102401..f8c1129a369 100644
--- a/libcxx/include/__debug
+++ b/libcxx/include/__debug
@@ -17,6 +17,10 @@
#pragma GCC system_header
#endif
+#if defined(_LIBCPP_HAS_NO_NULLPTR)
+# include <cstddef>
+#endif
+
#if _LIBCPP_DEBUG_LEVEL >= 1 || defined(_LIBCPP_BUILDING_LIBRARY)
# include <cstdlib>
# include <cstdio>
OpenPOWER on IntegriCloud