NS fix.
authorCarl Hetherington <cth@carlh.net>
Sun, 14 Apr 2013 00:36:51 +0000 (01:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 14 Apr 2013 00:36:51 +0000 (01:36 +0100)
src/tools/dvdomatic.cc

index 70a96866cf534ae03d4ac87ab8b80714d14628b6..3628fd4506e122f798b61eb986ae4370a165b84a 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include <iostream>
+#include <fstream>
 #include <boost/filesystem.hpp>
 #ifdef __WXMSW__
 #include <shellapi.h>
@@ -459,7 +460,7 @@ setup_i18n ()
 {
        int language = wxLANGUAGE_DEFAULT;
 
-       ofstream f ("c:/users/carl/foo", ios::app);
+       ofstream f ("c:/users/carl/foo", std::ios::app);
        f << "Hello.\n";
 
        if (Config::instance()->language()) {