#include <errno.h>
#include "wx/thread.h"
#include "wx/module.h"
-#include "wx/generic/private/timer.h"
+#include "wx/unix/private/timer.h"
#include "wx/unix/private/epolldispatcher.h"
#include "wx/private/selectdispatcher.h"
#define TRACE_EVENTS _T("events")
+//this code should not be compiled when GUI is defined
+//(monolithic build issue)
+#if !wxUSE_GUI
+
// ===========================================================================
// wxEventLoop::PipeIOHandler implementation
// ===========================================================================
&m_wakeupPipe,
wxFDIO_INPUT
);
-};
+}
//-----------------------------------------------------------------------------
// events dispatch and loop handling
wxTheApp->CheckSignal();
}
+#endif // !wxUSE_GUI