[Mesa-dev] [PATCH] glext.h: Add missing include of stddef.h for ptrdiff_t

Emil Velikov emil.l.velikov at gmail.com
Wed May 20 13:59:49 PDT 2015


Hi Jeremy,

On 11 February 2015 at 20:36, Jeremy Huddleston Sequoia
<jeremyhu at freedesktop.org> wrote:
>
> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> ---
>  include/GL/glext.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/GL/glext.h b/include/GL/glext.h
> index 256ad35..0328cf6 100644
> --- a/include/GL/glext.h
> +++ b/include/GL/glext.h
> @@ -4470,6 +4470,7 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
>
>  #ifndef GL_ARB_vertex_buffer_object
>  #define GL_ARB_vertex_buffer_object 1
> +#include <stddef.h>
As Matt pointed out the headers are coming directly from Khronos and
we should not modify them. Did you had the change to report this issue
to them ?

-Emil


More information about the mesa-dev mailing list