diff --git a/caca/driver_gl.c b/caca/driver_gl.c index 79822ca..f26f574 100644 --- a/caca/driver_gl.c +++ b/caca/driver_gl.c @@ -21,11 +21,14 @@ #if defined(USE_GL) +#ifndef USE_GLUTCHECKLOOP #include #include #include - -#ifdef USE_GLUTCHECKLOOP +#else +/* glutCheckLoop tested only under MacOSX, so using its default headers path */ +#include +#include #define glutMainLoopEvent glutCheckLoop #endif