diff --git a/indra/test/llevents_tut.cpp b/indra/test/llevents_tut.cpp index a9114075fc..bf96e50eb2 100755 --- a/indra/test/llevents_tut.cpp +++ b/indra/test/llevents_tut.cpp @@ -48,10 +48,10 @@ #include #include // other Linden headers -#include "lltut.h" #include "catch_and_store_what_in.h" #include "stringize.h" #include "tests/listener.h" +#include "lltut.h" // this header has to come AFTER listener.h because clang wants operator<< overloads declared BEFORE the template that uses them. using boost::assign::list_of; diff --git a/indra/test/llsd_new_tut.cpp b/indra/test/llsd_new_tut.cpp index dc886a3693..954fe25cc5 100755 --- a/indra/test/llsd_new_tut.cpp +++ b/indra/test/llsd_new_tut.cpp @@ -26,9 +26,9 @@ */ #define LLSD_DEBUG_INFO -#include #include "linden_common.h" #include "lltut.h" +#include // this header has to come AFTER lltut.h because clang wants operator<< overloads declared BEFORE the template that uses them. #include "llsdtraits.h" #include "llstring.h"