pkgsrc/net/irrtoolset-nox11/patches/patch-ba
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
366 B
Text

$NetBSD: patch-ba,v 1.1 2005/03/06 11:40:21 spz Exp $
--- src/rpsl/rpsl/prefix.hh.orig 2004-07-30 12:58:14.000000000 +0200
+++ src/rpsl/rpsl/prefix.hh
@@ -59,7 +59,11 @@
#include <sys/types.h>
#include <vector>
#include <sstream>
+#if (__GNUC__ > 2)
#include <ostream>
+#else
+#include <ostream.h>
+#endif
typedef unsigned long long int ip_v6word_t;