aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/config/select_stdlib_config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/details/boost/config/select_stdlib_config.hpp')
-rw-r--r--cutl/details/boost/config/select_stdlib_config.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cutl/details/boost/config/select_stdlib_config.hpp b/cutl/details/boost/config/select_stdlib_config.hpp
index 6b7e550..8bfdf1e 100644
--- a/cutl/details/boost/config/select_stdlib_config.hpp
+++ b/cutl/details/boost/config/select_stdlib_config.hpp
@@ -14,7 +14,11 @@
// First include <cstddef> to determine if some version of STLport is in use as the std lib
// (do not rely on this header being included since users can short-circuit this header
// if they know whose std lib they are using.)
-#include <cstddef>
+#ifdef __cplusplus
+# include <cstddef>
+#else
+# include <stddef.h>
+#endif
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
// STLPort library; this _must_ come first, otherwise since