Committing in .
OpenVMS compile issues
Modified Files:
Mesa-newtree/progs/tests/cva.c
Mesa-newtree/progs/tests/dinoshade.c
Mesa-newtree/progs/tests/multipal.c
Mesa-newtree/src/mesa/main/descrip.mms
Mesa-newtree/src/mesa/tnl/descrip.mms
Mesa-newtree/src/mesa/tnl/t_vtx_api.c
----------------------------------------------------------------------
diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c
index 1e4d4ab..d0a79c1 100644
--- a/progs/tests/dinoshade.c
+++ b/progs/tests/dinoshade.c
@@ -38,7 +38,11 @@
#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 __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