summaryrefslogtreecommitdiff
path: root/sysutils/dptutil/patches/patch-dptutil_flash_cpp
blob: 34449781b41df2094ec8ff178d589525ac70a68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-dptutil_flash_cpp,v 1.1 2011/05/22 19:11:42 dholland Exp $

Build fix for semi-modern C++.

--- dptutil/flash.cpp.orig	2002-08-13 15:02:47.000000000 +0000
+++ dptutil/flash.cpp
@@ -31,12 +31,10 @@
 
 #include <stdio.h>
 #include <ctype.h>
-#include <fstream.h>
-#if defined _DPT_WIN_NT
-#include <strstrea.h>
-#else
-#include <strstream.h>
-#endif
+#include <fstream>
+//#include <strstream>
+using std::fstream;
+using std::ios;
 
 extern char* EventStrings[];
 /*** CONSTANTS ***/