commit | 40fac75370507924b013908ecaa5fb37e8501dba | [log] [tgz] |
---|---|---|
author | Karl Schultz <kschultz@freedesktop.org> | Wed Jan 16 01:03:25 2002 +0000 |
committer | Karl Schultz <kschultz@freedesktop.org> | Wed Jan 16 01:03:25 2002 +0000 |
tree | 41ee81a1dd0939427c52d98b4ae5010b8a0a8e14 | |
parent | 3d587f643229a29f615d5047e47e4a3805930588 [diff] [blame] |
get tests working on windows (Robert Bergkvist)
diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c index 33fb45d..e3086bb 100644 --- a/progs/tests/dinoshade.c +++ b/progs/tests/dinoshade.c
@@ -38,6 +38,10 @@ #include <stdlib.h> #include <string.h> #include <math.h> /* for cos(), sin(), and sqrt() */ +#ifdef _WIN32 +#include <windows.h> +#endif +#define GL_GLEXT_LEGACY #include <GL/glut.h> /* OpenGL Utility Toolkit header */ /* Some <math.h> files do not define M_PI... */