src/freeglut_initial.c:91 Added check for SOLARIS OS
[freeglut] / src / freeglut_internal.h
index 4564157..796a7d7 100644 (file)
@@ -90,7 +90,9 @@
     #include <X11/keysym.h>
 
     #ifndef __sgi
-    #include <X11/extensions/xf86vmode.h>
+      #ifndef SOLARIS
+        #include <X11/extensions/xf86vmode.h>
+      #endif
     #endif
 #endif