blob: ce84fe4aca2e29d4fecbc48f6bf33c180cb817ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$FreeBSD$
--- lib/cpp/antlr/CharBuffer.hpp.orig Mon Nov 15 16:35:21 2004
+++ lib/cpp/antlr/CharBuffer.hpp Mon Nov 15 16:36:04 2004
@@ -8,7 +8,11 @@
* $Id: //depot/code/org.antlr/release/antlr-2.7.4/lib/cpp/antlr/CharBuffer.hpp#1 $
*/
+#if defined(__GNUC__) && (__GNUC__ < 3 || __GNUC_MINOR__ < 2)
+#include <istream.h>
+#else
#include <istream>
+#endif
#include <antlr/config.hpp>
#include <antlr/InputBuffer.hpp>
|