$NetBSD: patch-ab,v 1.2 2006/06/02 18:30:14 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>
