summaryrefslogtreecommitdiff
path: root/progs/tests/dinoshade.c
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2002-01-16 01:03:25 +0000
committerKarl Schultz <kschultz@freedesktop.org>2002-01-16 01:03:25 +0000
commit40fac75370507924b013908ecaa5fb37e8501dba (patch)
tree41ee81a1dd0939427c52d98b4ae5010b8a0a8e14 /progs/tests/dinoshade.c
parent3d587f643229a29f615d5047e47e4a3805930588 (diff)
get tests working on windows (Robert Bergkvist)
Diffstat (limited to 'progs/tests/dinoshade.c')
-rw-r--r--progs/tests/dinoshade.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c
index 33fb45d36ed..e3086bb3f0b 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... */