Testing for errno.h is overkill. :-)
[freeglut] / src / freeglut_joystick.c
index 080b71f..3c2fa9e 100644 (file)
@@ -72,9 +72,7 @@
 #    if HAVE_FCNTL_H
 #        include <fcntl.h>
 #    endif
-#    if HAVE_ERRNO_H
-#        include <errno.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