]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/selectdispatcher.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / private / selectdispatcher.h
index 1dc1ed290fd891e75b64292b77ffd6c897e952bd..644377739f3f465934f1dff12303a1741332d6a8 100644 (file)
@@ -4,7 +4,6 @@
 // Authors:     Lukasz Michalski and Vadim Zeitlin
 // Created:     December 2006
 // Copyright:   (c) Lukasz Michalski
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
 #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"