ports/archivers/libcabinet/files/patch-cfreader.cpp
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

21 lines
463 B
C++

--- cfreader.cpp.orig 1999-10-24 06:13:29 UTC
+++ cfreader.cpp
@@ -22,7 +22,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <fstream.h>
+#include <fstream>
#include "darray.h"
#include "cffile.h"
#include "cftypes.h"
@@ -31,6 +31,8 @@
#include "cfheader.h"
#include "cfreader.h"
+using std::ios;
+
////////////////////////////////////////****************************************
int cabinet_reader::open(const char* fname)