pkgsrc/misc/colortail/patches/patch-ab
2011-11-26 17:16:53 +00:00

18 lines
401 B
Text

$NetBSD: patch-ab,v 1.3 2011/11/26 17:16:53 joerg Exp $
--- CfgFileParser.h.orig 1999-08-03 19:40:52.000000000 +0000
+++ CfgFileParser.h
@@ -24,8 +24,12 @@
#include "config.h"
#include <sys/types.h>
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
#include <regex.h>
-#include <fstream.h>
+#endif
+#include <fstream>
+
+using namespace std;
#ifdef HAVE_GNUREGEX_H
# include <gnuregex.h>