Fix some FTBFS issues when compiling with GCC 4.3
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 10:20:02 +0000 (10:20 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 10:20:02 +0000 (10:20 +0000)
git-svn-id: http://svn.voria.com/code@1460 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/dialog_gradient.h
synfig-studio/trunk/src/synfigapp/settings.cpp

index 29bf7df..a3fb39c 100644 (file)
@@ -33,6 +33,7 @@
 #include <fstream>
 #include <iostream>
 #include <locale>
+#include <cstring>
 
 #ifdef HAVE_SYS_ERRNO_H
 #include <sys/errno.h>
index bbddc69..7daa4ac 100644 (file)
@@ -103,7 +103,7 @@ public:
        Dialog_Gradient();
        ~Dialog_Gradient();
 
-       void edit(const synfigapp::ValueDesc &x, etl::handle<synfigapp::CanvasInterface> canvas_interface, synfig::Time x=0);
+       void edit(const synfigapp::ValueDesc &x, etl::handle<synfigapp::CanvasInterface> canvas_interface, synfig::Time time=0);
 }; // END of Dialog_Gradient
 
 }; // END of namespace studio
index 43fcb8f..5399109 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <fstream>
 #include <iostream>
+#include <algorithm>
 #include "settings.h"
 #include <synfig/general.h>