$OpenBSD: patch-idl_codegen-c++_cc,v 1.1 2004/09/26 12:11:00 espie Exp $
--- idl/codegen-c++.cc.orig	Sun Sep  2 20:23:05 2001
+++ idl/codegen-c++.cc	Fri Jul 30 17:27:58 2004
@@ -23,7 +23,7 @@
 
 
 #include <CORBA.h>
-#include <fstream.h>
+#include <fstream>
 #include <ctype.h>
 #include <stdio.h>
 #include "codegen-c++.h"
@@ -217,8 +217,8 @@ void CodeGenCPP::emit( string &fn )
 #define noreplace trunc
 #endif
 
-  ofstream implheader( fnImplH.c_str(), ios::noreplace|ios::trunc|ios::out );
-  ofstream implcpp( fnImplCPP.c_str(), ios::noreplace|ios::trunc|ios::out );
+  ofstream implheader( fnImplH.c_str(), ios::trunc|ios::out );
+  ofstream implcpp( fnImplCPP.c_str(), ios::trunc|ios::out );
 
   bool cont = true;
   
