summaryrefslogtreecommitdiff
path: root/progs/tests/cva.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/cva.c')
-rw-r--r--progs/tests/cva.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/progs/tests/cva.c b/progs/tests/cva.c
index b596a5a4d3..3f7960f53b 100644
--- a/progs/tests/cva.c
+++ b/progs/tests/cva.c
@@ -1,4 +1,4 @@
-/* $Id: cva.c,v 1.6 2003/11/23 10:27:10 keithw Exp $ */
+/* $Id: cva.c,v 1.7 2003/12/08 09:03:35 joukj Exp $ */
/*
* Trivial CVA test, good for testing driver fastpaths (especially
@@ -11,7 +11,11 @@
#include <stdlib.h>
#include <stdio.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