diff options
author | Jouk Jansen <[email protected]> | 2003-12-08 09:03:35 +0000 |
---|---|---|
committer | Jouk Jansen <[email protected]> | 2003-12-08 09:03:35 +0000 |
commit | 58f88a29d2eeb9cc5f4658113d0ebe11f60ab61c (patch) | |
tree | 9ee6e62e631ff78f9eb2863a395830b0698d6e2f /progs/tests/multipal.c | |
parent | 2799d2535ab013ec82c79e3f98f92cdef43dbdf3 (diff) |
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
----------------------------------------------------------------------
Diffstat (limited to 'progs/tests/multipal.c')
-rw-r--r-- | progs/tests/multipal.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/progs/tests/multipal.c b/progs/tests/multipal.c index 9ac5bdf8df7..c824b38703a 100644 --- a/progs/tests/multipal.c +++ b/progs/tests/multipal.c @@ -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 |