From 3370ea2f794b8e36214eb4fadfccee01e109eb81 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 19 Oct 2016 19:27:37 +0100 Subject: [PATCH] Add missing #include. Fixes https://svn.boost.org/trac/boost/ticket/12537. --- include/boost/math/tools/tuple.hpp | 1 + test/compile_test/tools_tuple_inc_test.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/compile_test/tools_tuple_inc_test.cpp diff --git a/include/boost/math/tools/tuple.hpp b/include/boost/math/tools/tuple.hpp index 5723f8133..81de59fa3 100644 --- a/include/boost/math/tools/tuple.hpp +++ b/include/boost/math/tools/tuple.hpp @@ -6,6 +6,7 @@ #ifndef BOOST_MATH_TUPLE_HPP_INCLUDED # define BOOST_MATH_TUPLE_HPP_INCLUDED # include +# include #if !defined(BOOST_NO_CXX11_HDR_TUPLE) && !BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40500) diff --git a/test/compile_test/tools_tuple_inc_test.cpp b/test/compile_test/tools_tuple_inc_test.cpp new file mode 100644 index 000000000..39910e9b7 --- /dev/null +++ b/test/compile_test/tools_tuple_inc_test.cpp @@ -0,0 +1,10 @@ +// Copyright John Maddock 2006. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Basic sanity check that header +// #includes all the files that it needs to. +// +#include +