diff --git a/plearn/io/PStreamBuf.h b/plearn/io/PStreamBuf.h index 67903172f..81ebdc0bb 100644 --- a/plearn/io/PStreamBuf.h +++ b/plearn/io/PStreamBuf.h @@ -40,6 +40,7 @@ #ifndef PStreamBuf_INC #define PStreamBuf_INC +#include //Needed by g++ 4.5.1 #include namespace PLearn { diff --git a/plearn/io/pl_io.h b/plearn/io/pl_io.h index 2ef06ea74..c11fac58a 100644 --- a/plearn/io/pl_io.h +++ b/plearn/io/pl_io.h @@ -48,6 +48,7 @@ #ifndef pl_io_INC #define pl_io_INC +#include // needed by g++ 4.5.1 #include #include #include //!< For 'real'. diff --git a/plearn/io/pl_nullstreambuf.h b/plearn/io/pl_nullstreambuf.h index 095cb0190..9090e07d9 100644 --- a/plearn/io/pl_nullstreambuf.h +++ b/plearn/io/pl_nullstreambuf.h @@ -41,6 +41,7 @@ #else # include #endif +#include //Needed by g++ 4.5.1 namespace PLearn { using namespace std; diff --git a/plearn/io/pl_streambuf.h b/plearn/io/pl_streambuf.h index 529d55b75..31d0f41e3 100644 --- a/plearn/io/pl_streambuf.h +++ b/plearn/io/pl_streambuf.h @@ -45,6 +45,7 @@ //#include #include +#include //Needed by g++ 4.5.1 //#include "plerror.h" #include