From b5c5fbe0f51e8bc413a48d5c9868e1cb38772ea6 Mon Sep 17 00:00:00 2001 From: Michael Glassford Date: Thu, 29 Jul 2004 14:25:30 +0000 Subject: [PATCH] #include before every # to eliminate compile errors on VC++ 6 with STLPort-4.5.3 when standard exceptions are thrown with a string literal passed to the constructor. [SVN r24159] --- include/boost/thread/exceptions.hpp | 1 + src/mutex.cpp | 1 + src/recursive_mutex.cpp | 1 + src/tss.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/include/boost/thread/exceptions.hpp b/include/boost/thread/exceptions.hpp index 2296ed30..9b4e9f93 100644 --- a/include/boost/thread/exceptions.hpp +++ b/include/boost/thread/exceptions.hpp @@ -20,6 +20,7 @@ // given the include guards, but regardless it makes sense to // seperate this out any way. +#include #include namespace boost { diff --git a/src/mutex.cpp b/src/mutex.cpp index c02f578f..ff49d989 100644 --- a/src/mutex.cpp +++ b/src/mutex.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include "timeconv.inl" diff --git a/src/recursive_mutex.cpp b/src/recursive_mutex.cpp index 5e79498d..ae00834d 100644 --- a/src/recursive_mutex.cpp +++ b/src/recursive_mutex.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "timeconv.inl" diff --git a/src/tss.cpp b/src/tss.cpp index 5ad307fc..f1191eff 100644 --- a/src/tss.cpp +++ b/src/tss.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include