From: Vinson Lee Date: Mon, 22 Mar 2010 02:09:54 +0000 (-0700) Subject: progs/tests: Include stddef.h for ptrdiff_t on all platforms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e7d65bb5b50efbd5812e7996910b7688eb27192;p=mesa.git 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. --- 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