summaryrefslogtreecommitdiffstats
path: root/progs/tests/dinoshade.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2003-11-23 10:27:10 +0000
committerKeith Whitwell <[email protected]>2003-11-23 10:27:10 +0000
commit8525fae3b8276441883604a1ced32a46b85d5adf (patch)
treee7addee39248f4891d312a7414c34602e541ce22 /progs/tests/dinoshade.c
parent67f8a1d4ad5c6f94067ef9a621b513fe8f708c72 (diff)
build fixes, rh9
Diffstat (limited to 'progs/tests/dinoshade.c')
-rw-r--r--progs/tests/dinoshade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c
index e3086bb3f0b..1e4d4abfda8 100644
--- a/progs/tests/dinoshade.c
+++ b/progs/tests/dinoshade.c
@@ -38,6 +38,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h> /* for cos(), sin(), and sqrt() */
+#include <malloc.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */
#ifdef _WIN32
#include <windows.h>
#endif