opnsense-ports/net/netmap/files/patch-belgolib__files.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
596 B
C++

--- belgolib/files.h.orig Sun Dec 15 14:54:27 2002
+++ belgolib/files.h Sun Dec 15 14:54:27 2002
@@ -1,4 +1,5 @@
#include <fstream>
+using namespace std;
#ifndef __make_dep__
#include <string> //makedepend bug
@@ -15,8 +16,8 @@
class Infile : public ifstream {
public:
Infile();
- Infile(const string &, int mode=ios::in, bool=false);
- int Open(const string &, int mode=ios::in, bool=false);
+ Infile(const string &, ios::openmode mode=ios::in, bool=false);
+ int Open(const string &, ios::openmode mode=ios::in, bool=false);
protected:
int check_open() const;