Code

use <errno.h> instead of assuming extern int
authorishmal <ishmal@users.sourceforge.net>
Thu, 22 Mar 2007 00:03:25 +0000 (00:03 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 22 Mar 2007 00:03:25 +0000 (00:03 +0000)
src/ui/dialog/filedialog.cpp

index 25390d56fa20e6e8f0571be763d240bdc94f48ea..818de6f2dcbf179539b429edd9d74b7c886aab04 100644 (file)
@@ -20,6 +20,7 @@
 //General includes
 #include <unistd.h>
 #include <sys/stat.h>
+#include <errno.h>
 #include <set>
 
 //Gtk includes
@@ -59,7 +60,6 @@ void dump_str( const gchar* str, const gchar* prefix );
 void dump_ustr( const Glib::ustring& ustr );
 #endif
 
-extern int errno;
 
 
 namespace Inkscape