aboutsummaryrefslogtreecommitdiff
path: root/net/netmap/files/patch-belgolib::files.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netmap/files/patch-belgolib::files.c')
-rw-r--r--net/netmap/files/patch-belgolib::files.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/netmap/files/patch-belgolib::files.c b/net/netmap/files/patch-belgolib::files.c
new file mode 100644
index 000000000000..c5aab8d1dcc4
--- /dev/null
+++ b/net/netmap/files/patch-belgolib::files.c
@@ -0,0 +1,28 @@
+--- belgolib/files.c.orig Sun Dec 15 14:54:27 2002
++++ belgolib/files.c Sun Dec 15 14:54:27 2002
+@@ -1,6 +1,7 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <assert.h>
++#include <iostream>
+
+ #include "files.h"
+ #include "debug.h"
+@@ -16,7 +17,7 @@
+
+ Infile::Infile() : ifstream() { }
+
+-Infile::Infile(const string& file_name, int mode, bool fatal)
++Infile::Infile(const string& file_name, ios::openmode mode, bool fatal)
+ : ifstream(file_name.c_str(), mode)
+ {
+
+@@ -38,7 +39,7 @@
+ }
+
+
+-int Infile::Open(const string & file_name, int mode, bool fatal)
++int Infile::Open(const string & file_name, ios::openmode mode, bool fatal)
+ {
+
+ if(cdb>d_list)