From c5ac094a1035b98a88010849c0f69882fd213908 Mon Sep 17 00:00:00 2001 From: slevy <slevy> Date: Thu, 28 Mar 2002 19:21:00 +0000 Subject: [PATCH] Oops, in case FLTK *hasn't* been patched, still need <FL/x.H> and <GL/glx.h> for X-specific stereo code. --- src/partiviewc.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/partiviewc.cc b/src/partiviewc.cc index 93c6f87..16cd973 100644 --- a/src/partiviewc.cc +++ b/src/partiviewc.cc @@ -20,6 +20,14 @@ #include <FL/glut.H> /* for GLUT_STEREO if FLTK knows it */ +#ifndef GLUT_STEREO +# if unix +# include <FL/x.H> /* otherwise, need GLX symbols for X-specific stereo */ +# include <GL/glx.h> +# endif +#endif + + #include <ctype.h> #undef isspace /* hack for irix 6.5 */ -- GitLab