X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a12698abb72c090dba6907506781ae979b0ef606..1237a25bc49396fa39516846a855bf3b0a4fe1f7:/include/wx/private/selectdispatcher.h diff --git a/include/wx/private/selectdispatcher.h b/include/wx/private/selectdispatcher.h index 1dc1ed290f..5c17fe650e 100644 --- a/include/wx/private/selectdispatcher.h +++ b/include/wx/private/selectdispatcher.h @@ -15,14 +15,17 @@ #if wxUSE_SELECT_DISPATCHER +#if defined(HAVE_SYS_SELECT_H) || defined(__WATCOMC__) + #include <sys/time.h> + #include <sys/select.h> +#endif + #ifdef __WATCOMC__ - #include <types.h> - #include <sys/ioctl.h> - #include <sys/time.h> - #include <sys/select.h> - #include <tcpustd.h> + #include <types.h> + #include <sys/ioctl.h> + #include <tcpustd.h> #else - #include <sys/types.h> + #include <sys/types.h> #endif #include "wx/private/fdiodispatcher.h"