Skip to content

Commit

Permalink
fix to allow compiling with g++ 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nouiz committed Sep 23, 2011
1 parent a8223c5 commit 76684e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions plearn/io/PStreamBuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#ifndef PStreamBuf_INC
#define PStreamBuf_INC

#include <cstdio> //Needed by g++ 4.5.1
#include <plearn/base/PP.h>

namespace PLearn {
Expand Down
1 change: 1 addition & 0 deletions plearn/io/pl_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#ifndef pl_io_INC
#define pl_io_INC

#include <cstdio> // needed by g++ 4.5.1
#include <iostream>
#include <map>
#include <plearn/math/pl_math.h> //!< For 'real'.
Expand Down
1 change: 1 addition & 0 deletions plearn/io/pl_nullstreambuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#else
# include <streambuf>
#endif
#include <cstdio> //Needed by g++ 4.5.1

namespace PLearn {
using namespace std;
Expand Down
1 change: 1 addition & 0 deletions plearn/io/pl_streambuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

//#include <iosfwd>
#include <iostream>
#include <cstdio> //Needed by g++ 4.5.1
//#include "plerror.h"
#include <plearn/base/PP.h>

Expand Down

0 comments on commit 76684e2

Please sign in to comment.