summaryrefslogtreecommitdiff
path: root/games/rtb/files/patch-include::fdstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/rtb/files/patch-include::fdstream.h')
-rw-r--r--games/rtb/files/patch-include::fdstream.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/rtb/files/patch-include::fdstream.h b/games/rtb/files/patch-include::fdstream.h
new file mode 100644
index 000000000000..bbcf4906a665
--- /dev/null
+++ b/games/rtb/files/patch-include::fdstream.h
@@ -0,0 +1,18 @@
+--- include/fdstream.h.orig Thu Sep 18 02:35:57 2003
++++ include/fdstream.h Sat Mar 13 02:07:54 2004
+@@ -28,9 +28,15 @@
+ #ifndef BOOST_FDSTREAM_HPP
+ #define BOOST_FDSTREAM_HPP
+
++#if defined __GNUC__ && __GNUC__ < 3
++#include <istream.h>
++#include <ostream.h>
++#include <streambuf.h>
++#else
+ #include <istream>
+ #include <ostream>
+ #include <streambuf>
++#endif
+ // for EOF:
+ #include <cstdio>
+ // for memmove():