]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/selectdispatcher.h
removing outdated code
[wxWidgets.git] / include / wx / private / selectdispatcher.h
index 1dc1ed290fd891e75b64292b77ffd6c897e952bd..5c17fe650e68728d036ac8a8216870321fecb1e3 100644 (file)
 
 #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"