summaryrefslogtreecommitdiff
path: root/boost/intrusive/intrusive_fwd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/intrusive_fwd.hpp')
-rw-r--r--boost/intrusive/intrusive_fwd.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/boost/intrusive/intrusive_fwd.hpp b/boost/intrusive/intrusive_fwd.hpp
index b6b14c0698..f51276d636 100644
--- a/boost/intrusive/intrusive_fwd.hpp
+++ b/boost/intrusive/intrusive_fwd.hpp
@@ -16,7 +16,11 @@
#ifndef BOOST_CONFIG_HPP
# include <boost/config.hpp>
#endif
-
+#
+#ifndef BOOST_CSTDINT_HPP
+# include <boost/cstdint.hpp>
+#endif
+#
#if defined(BOOST_HAS_PRAGMA_ONCE)
# pragma once
#endif
@@ -65,6 +69,14 @@
namespace boost {
namespace intrusive {
+#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
+# ifdef BOOST_HAS_INTPTR_T
+ using ::boost::uintptr_t;
+# else
+ typedef std::size_t uintptr_t;
+# endif
+#endif
+
////////////////////////////
// Node algorithms
////////////////////////////