]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
Minor header cleaning.
[wxWidgets.git] / src / unix / joystick.cpp
index c60b06b7589a3f9ea3af86c326d40706f5832e3a..64afa78cb989e8286f7a8fec2b91cb99e1e378e9 100644 (file)
 
 #include "wx/joystick.h"
 
 
 #include "wx/joystick.h"
 
+#ifndef WX_PRECOMP
+    #include "wx/event.h"
+    #include "wx/window.h"
+#endif //WX_PRECOMP
+
 #include <linux/joystick.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <linux/joystick.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
 
 #include <fcntl.h>
 #include <unistd.h>
 
-#include "wx/event.h"
-#include "wx/window.h"
+#ifdef HAVE_SYS_SELECT_H
+#   include <sys/select.h>
+#endif
+
 #include "wx/unix/private.h"
 
 enum {
 #include "wx/unix/private.h"
 
 enum {