#include "wx/apptrait.h"
 #include "wx/unix/execute.h"
 #include "wx/evtloop.h"
+#include "wx/gsocket.h"
 
-#if wxUSE_TIMER
-    #include "wx/unix/private/timer.h"
-#endif // wxUSE_TIMER
+#include "wx/unix/private/timer.h"
 
 // for waitpid()
 #include <sys/types.h>
 
 #endif // wxUSE_TIMER
 
-wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
-{
-    return new wxEventLoop();
-}
-
+//  Note: wxConsoleAppTraits::CreateEventLoop() is defined in evtloopunix.cpp!