merge with master and fix 4 conflicts by hand
[ardour.git] / libs / ardour / smf_source.cc
index c3bc78c83dec8cc94b7f4cea564004de69fd2624..f6168f9d9b093254b355caa793684217d9e663e4 100644 (file)
@@ -30,6 +30,7 @@
 #include "pbd/stl_delete.h"
 #include "pbd/strsplit.h"
 
+#include <glib/gstdio.h>
 #include <glibmm/miscutils.h>
 #include <glibmm/fileutils.h>
 
@@ -148,7 +149,7 @@ SMFSource::SMFSource (Session& s, const XMLNode& node, bool must_exist)
 SMFSource::~SMFSource ()
 {
        if (removable()) {
-               unlink (_path.c_str());
+               ::g_unlink (_path.c_str());
        }
 }