#include <fstream>
#include "support/lyxlib.h"
-#include "support/std_string.h"
+
using std::ifstream;
using std::ofstream;
using std::ios;
+using std::string;
+
bool lyx::support::copy(string const & from, string const & to)
{
- ifstream ifs(from.c_str());
+ ifstream ifs(from.c_str(), ios::binary);
if (!ifs)
return false;
ofstream ofs(to.c_str(),