GLXWorkstation.st
branchjv
changeset 8181 7cd36eb4b09c
parent 7657 75bf1ca54216
child 8183 e1c6a2aa41b6
--- a/GLXWorkstation.st	Wed Sep 06 10:04:18 2017 +0200
+++ b/GLXWorkstation.st	Wed Sep 06 11:13:09 2017 +0200
@@ -107,15 +107,20 @@
 # define DYNAMICALLY_LOADABLE
 #endif
 
+#ifdef __linux__
+# include <signal.h>
+#endif
+
 #ifndef OPENGL
 # ifdef MESA
 #  define OPENGL
 # endif
 #endif
 
-#ifdef OPENGL   /* SGI or other's OPENGL library */
+#ifdef OPENGL   /* SGI or other OPENGL library */
 
 # include "GL/gl.h"
+# include "GL/glx.h"
 
 # ifdef MESA    /* GNU MESA openGL simulation */
 #  include "GL/xmesa.h"
@@ -129,7 +134,7 @@
 
 #else
 
-# ifdef GLX     /* SGI's native GL library */
+# ifdef GLX     /* SGI native GL library */
 #  include <gl/glws.h>
 #  include <gl/sphere.h>
 # else          /* VOGL GL subset simulation */
@@ -163,7 +168,7 @@
 # define LEAVEGLX     __END_PROTECT_REGISTERS__
 
 /*
- * stupid again - from now on, we need ST/X's String again
+ * stupid again - from now on, we need ST/Xs String again
  */
 #undef String
 #ifdef __DEF_String