]> git.tdb.fi Git - builder.git/blobdiff - source/unlink.cpp
Further changes for library compatibility
[builder.git] / source / unlink.cpp
index f1a548660e93da200102c255382e84853d0fe7bf..d047dbdc629fcb45a863a81975ba33449450f216 100644 (file)
@@ -5,6 +5,7 @@ Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
+#include <msp/core/systemerror.h>
 #include <msp/fs/utils.h>
 #include "filetarget.h"
 #include "sourcepackage.h"
@@ -21,7 +22,7 @@ Unlink::Unlink(Builder &b, const FileTarget &t):
        {
                unlink(t.get_path());
        }
-       catch(const Msp::SystemError &)
+       catch(const Msp::system_error &)
        { }
 }