--- qsampler/trunk/src/qsamplerMainForm.ui.h 2005/01/12 11:05:44 339 +++ qsampler/trunk/src/qsamplerMainForm.ui.h 2005/01/14 10:40:47 340 @@ -44,6 +44,9 @@ #include "config.h" +#ifdef HAVE_SIGNAL_H +#include +#endif // Timer constant stuff. #define QSAMPLER_TIMER_MSECS 200 @@ -116,6 +119,11 @@ m_iTimerSlot = 0; +#ifdef HAVE_SIGNAL_H + // Set to ignore any fatal "Broken pipe" signals. + ::signal(SIGPIPE, SIG_IGN); +#endif + // Make it an MDI workspace. m_pWorkspace = new QWorkspace(this); m_pWorkspace->setScrollBarsEnabled(true);