mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors
[mesa.git] / progs / tests / multipal.c
index a2efab874af54b5b95c320e40b1478056cb8b639..52818fca7eea1ccbe96d6c878a077155732f15d6 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: multipal.c,v 1.4 2002/10/18 17:47:36 kschultz Exp $ */
 
 /*
  * Test multitexture and paletted textures.
@@ -9,6 +8,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#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