summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11/patches/patch-bc
blob: 0ea8205400959c0a3fb8d00508fd6d922218b1e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bc,v 1.1 2005/03/06 11:40:21 spz Exp $

--- src/Core/util/Buffer.hh.orig	2004-07-30 12:58:10.000000000 +0200
+++ src/Core/util/Buffer.hh
@@ -30,7 +30,11 @@
 
 #include <cstdlib>
 #include <cstring>
+#if (__GNUC__ > 2)
 #include <ostream>
+#else
+#include <ostream.h>
+#endif
 extern "C" {
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>