]> git.saurik.com Git - wxWidgets.git/commitdiff
PCH-less compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 16 May 2007 08:45:01 +0000 (08:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 16 May 2007 08:45:01 +0000 (08:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/selectdispatcher.cpp
src/unix/epolldispatcher.cpp

index 4cbb7225bb25af053f9f3ac6478ba979d007d2e0..adfc2eba62afb8c842068d029e0b278bfd2057d7 100644 (file)
 #include "wx/module.h"
 #include "wx/timer.h"
 #include "wx/unix/private.h"
-#include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/hash.h"
+    #include "wx/log.h"
+    #include "wx/intl.h"
 #endif
 
 #ifdef HAVE_SYS_SELECT_H
@@ -251,7 +252,7 @@ void wxSelectDispatcher::RunLoop(int timeout)
                 // continue if we were interrupted by a signal, else bail out
                 if ( errno != EINTR )
                 {
-                    wxLogSysError(_("Failed to monitor IO channels"));
+                    wxLogSysError(_("Failed to monitor I/O channels"));
                     return;
                 }
                 break;
index 011e8ae49ef050882b2809a818ae962b7b44457f..294f89f1cbc428552a4c1d192008f3656f1aa15b 100644 (file)
 
 #include "wx/unix/private/epolldispatcher.h"
 #include "wx/unix/private.h"
-#include "wx/log.h"
 #include "wx/module.h"
 
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/intl.h"
+#endif
+
 #include <sys/epoll.h>
 #include <errno.h>