meh
authordarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 9 Nov 2005 08:49:59 +0000 (08:49 +0000)
committerdarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 9 Nov 2005 08:49:59 +0000 (08:49 +0000)
git-svn-id: http://svn.voria.com/code@47 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp
synfig-studio/trunk/src/gtkmm/ipc.cpp

index 64aef30..e726bf6 100644 (file)
@@ -32,6 +32,9 @@
 #include <fstream>
 #include <iostream>
 
+#ifdef HAVE_SYS_ERRNO_H
+#include <sys/errno.h>
+#endif
 #include <gtkmm/fileselection.h>
 #include <gtkmm/dialog.h>
 #include <gtkmm/label.h>
index d6e14aa..89813e9 100644 (file)
@@ -183,7 +183,8 @@ IPC::IPC()
 
                if(fd<0)
                {
-                       synfig::error("IPC(): Failed to open fifo \"%s\". (errno=%d)",fifo_path().c_str(),::errno);
+                       synfig::error("IPC(): Failed to open fifo \"%s\". (errno=?)",fifo_path().c_str());
+                       //synfig::error("IPC(): Failed to open fifo \"%s\". (errno=%d)",fifo_path().c_str(),::errno);
                }
                else
                {