Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from...
[freeglut] / src / freeglut_spaceball.c
index a2e70ed..7c9d073 100644 (file)
@@ -10,6 +10,8 @@
 #include <GL/freeglut.h>\r
 #include "freeglut_internal.h"\r
 \r
+/* -- PRIVATE FUNCTIONS --------------------------------------------------- */\r
+\r
 #if TARGET_HOST_POSIX_X11\r
 #include <X11/Xlib.h>\r
 \r
@@ -218,7 +220,7 @@ OF SUCH DAMAGE.
 #include <stdlib.h>\r
 #include <string.h>\r
 \r
-#if HAVE_ERRNO_H\r
+#ifdef HAVE_ERRNO_H\r
 #include <errno.h>\r
 #endif\r
 \r