From 94145ff494297b9d3b79d175ef6a559529a3f28f Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 14 May 2005 16:26:11 +0000 Subject: [PATCH] Work around name lookup bug in GCC 3.3 for Mac OS X [SVN r28899] --- test/size_t.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/size_t.cpp b/test/size_t.cpp index 26450af..d6ae358 100644 --- a/test/size_t.cpp +++ b/test/size_t.cpp @@ -11,6 +11,11 @@ // $Date$ // $Revision$ +// Necessary to overcome a strange name lookup bug in GCC 3.3 for Mac OS X +#if defined(__APPLE_CC__) && defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ <= 3) +# include +#endif + #include #include #include