#include "wx/font.h"
#include "wx/gdicmn.h"
#include "wx/image.h"
+ #include "wx/module.h"
#endif
#include "wx/file.h"
#include "wx/filename.h"
-#include "wx/module.h"
#include "wx/thread.h"
#ifdef __WXGPE__
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
#endif // HAVE_POLL/!HAVE_POLL
#include "wx/unix/private.h"
unsigned int i;
for ( i = 0; i < nfds; i++ )
{
- wxASSERT_MSG( ufds[i].fd < wxFD_SETSIZE, _T("fd out of range") );
+ wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") );
if ( ufds[i].events & G_IO_IN )
wxFD_SET(ufds[i].fd, &readfds);