summaryrefslogtreecommitdiffstats
path: root/progs/tests/cva.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2007-09-24 10:22:31 -0700
committerEric Anholt <[email protected]>2007-09-24 10:22:31 -0700
commit9bb0d628b8cac9673e6ecc69b090f972f3c4e6e3 (patch)
treebfadae4c3b90fe2dcd7eda65256dd3fb6a9b15cc /progs/tests/cva.c
parent8cf9085bc7b96819d2bec1e749e15af58eefb2f3 (diff)
Just use stddef.h to get ptrdiff_t instead of obsolete malloc.h.
Diffstat (limited to 'progs/tests/cva.c')
-rw-r--r--progs/tests/cva.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/progs/tests/cva.c b/progs/tests/cva.c
index c7677990bff..ed965e748a5 100644
--- a/progs/tests/cva.c
+++ b/progs/tests/cva.c
@@ -11,11 +11,7 @@
#include <stdlib.h>
#include <stdio.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
+#include <stddef.h> /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */
#ifdef _WIN32
#include <windows.h>
#endif