From 1e7d65bb5b50efbd5812e7996910b7688eb27192 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 21 Mar 2010 19:09:54 -0700 Subject: [PATCH] progs/tests: Include stddef.h for ptrdiff_t on all platforms. stddef.h is the standard C header that defines ptrdiff_t. Fixes build of cva_huge on Mac OS X. --- progs/tests/cva_huge.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/progs/tests/cva_huge.c b/progs/tests/cva_huge.c index da63596d486..88ec2af2a84 100644 --- a/progs/tests/cva_huge.c +++ b/progs/tests/cva_huge.c @@ -32,11 +32,7 @@ #include #include #include -#ifdef __VMS -# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ -#else -# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ -#endif +#include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ #ifdef _WIN32 #include #endif -- 2.30.2