Fix broken test.
[mesa.git] / progs / tests / multipal.c
index 9ac5bdf8df77e52c48faf734534ebd14401b5840..c824b38703ac160540478fe68b7ade0d645a850b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: multipal.c,v 1.5 2003/11/23 10:27:10 keithw Exp $ */
+/* $Id: multipal.c,v 1.6 2003/12/08 09:03:36 joukj Exp $ */
 
 /*
  * Test multitexture and paletted textures.
@@ -9,7 +9,11 @@
 #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 __VMS
+# include <stddef.h>   /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */
+#else
+# include <malloc.h>   /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */
+#endif
 #ifdef _WIN32
 #include <windows.h>
 #endif