Testing!
[freeglut] / src / freeglut_joystick.c
index 781d0dd..3c2fa9e 100644 (file)
@@ -60,7 +60,6 @@
 #    define _JS_MAX_AXES  8
 #    include <windows.h>
 #    include <mmsystem.h>
-#    include <string.h>
 #    include <regstr.h>
 
 #endif
@@ -73,6 +72,7 @@
 #    if HAVE_FCNTL_H
 #        include <fcntl.h>
 #    endif
+#    include <errno.h>
 #    if defined(__FreeBSD__) || defined(__NetBSD__)
 /* XXX The below hack is done until freeglut's autoconf is updated. */
 #        define HAVE_USB_JS    1
@@ -93,8 +93,6 @@
 #        define JS_RETURN (sizeof(struct JS_DATA_TYPE))
 #    endif
 
-#    include <errno.h>
-
 #    if defined(__linux__)
 #        include <linux/joystick.h>