From a7adc46a54a0ce3257a750665109ac72c2aaa338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 2 Feb 2015 16:00:58 +0100 Subject: [PATCH] More changes to include boost/config.hpp before testing BOOST_HAS_PRAGMA_ONCE --- include/boost/container/node_allocator.hpp | 4 ++++ include/boost/container/options.hpp | 4 ++++ include/boost/container/scoped_allocator_fwd.hpp | 4 ++++ include/boost/container/set.hpp | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/include/boost/container/node_allocator.hpp b/include/boost/container/node_allocator.hpp index 0821c12..afd6f98 100644 --- a/include/boost/container/node_allocator.hpp +++ b/include/boost/container/node_allocator.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_CONTAINER_POOLED_NODE_ALLOCATOR_HPP #define BOOST_CONTAINER_POOLED_NODE_ALLOCATOR_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif + #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/container/options.hpp b/include/boost/container/options.hpp index 3b0fb40..da8b6a7 100644 --- a/include/boost/container/options.hpp +++ b/include/boost/container/options.hpp @@ -13,6 +13,10 @@ #ifndef BOOST_CONTAINER_OPTIONS_HPP #define BOOST_CONTAINER_OPTIONS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif + #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/container/scoped_allocator_fwd.hpp b/include/boost/container/scoped_allocator_fwd.hpp index f55f89f..003ed9f 100644 --- a/include/boost/container/scoped_allocator_fwd.hpp +++ b/include/boost/container/scoped_allocator_fwd.hpp @@ -15,6 +15,10 @@ //! This header file forward declares boost::container::scoped_allocator_adaptor //! and defines the following types: +#ifndef BOOST_CONFIG_HPP +# include +#endif + #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/container/set.hpp b/include/boost/container/set.hpp index 28e25af..8fa8792 100644 --- a/include/boost/container/set.hpp +++ b/include/boost/container/set.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_CONTAINER_SET_HPP #define BOOST_CONTAINER_SET_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif + #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif