pkgsrc/net/irrtoolset-nox11/patches/patch-bb
spz 950a1c977c make compilation with gcc 2.95.* work (mostly by rolling back includes
changes from IRRToolSet 4.8.1 within #if (__GNUC__ > 2) .. #else)
also incidentially fixes a bug in rusage.cc
2005-03-06 11:40:21 +00:00

16 lines
317 B
Text

$NetBSD: patch-bb,v 1.1 2005/03/06 11:40:21 spz Exp $
--- src/Core/util/rusage.hh.orig 2004-07-30 12:58:10.000000000 +0200
+++ src/Core/util/rusage.hh
@@ -56,7 +56,11 @@
#define RUSAGE_H
#include "config.h"
+#if (__GNUC__ > 2)
#include <ostream>
+#else
+#include <ostream.h>
+#endif
class Rusage {
private: