summaryrefslogtreecommitdiffstats
path: root/progs/tests/multipal.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/multipal.c
parent67f8a1d4ad5c6f94067ef9a621b513fe8f708c72 (diff)
build fixes, rh9
Diffstat (limited to 'progs/tests/multipal.c')
-rw-r--r--progs/tests/multipal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/multipal.c b/progs/tests/multipal.c
index a2efab874af..9ac5bdf8df7 100644
--- a/progs/tests/multipal.c
+++ b/progs/tests/multipal.c
@@ -1,4 +1,4 @@
-/* $Id: multipal.c,v 1.4 2002/10/18 17:47:36 kschultz Exp $ */
+/* $Id: multipal.c,v 1.5 2003/11/23 10:27:10 keithw Exp $ */
/*
* Test multitexture and paletted textures.
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <malloc.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */
#ifdef _WIN32
#include <windows.h>
#endif