From 22141e99d589c693677d2cba122a198f45c0fa74 Mon Sep 17 00:00:00 2001 From: darco Date: Wed, 9 Nov 2005 08:49:59 +0000 Subject: [PATCH] meh git-svn-id: http://svn.voria.com/code@47 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/app.cpp | 3 +++ synfig-studio/trunk/src/gtkmm/ipc.cpp | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 64aef30..e726bf6 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -32,6 +32,9 @@ #include #include +#ifdef HAVE_SYS_ERRNO_H +#include +#endif #include #include #include diff --git a/synfig-studio/trunk/src/gtkmm/ipc.cpp b/synfig-studio/trunk/src/gtkmm/ipc.cpp index d6e14aa..89813e9 100644 --- a/synfig-studio/trunk/src/gtkmm/ipc.cpp +++ b/synfig-studio/trunk/src/gtkmm/ipc.cpp @@ -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 { -- 2.7.4