From: Brian Paul Date: Sun, 23 Nov 2003 16:22:54 +0000 (+0000) Subject: include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91b6a4aa901e09b395cf6d81ed29dfe281dbc9f7;p=mesa.git include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr --- diff --git a/include/GL/gl.h b/include/GL/gl.h index 39c5113c4d2..2d383042913 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -37,7 +37,9 @@ * included. */ #if !defined(__SCITECH_SNAP__) - + +#include /* to get ptrdiff_t, used below */ + #if defined(__BEOS__) #include /* to get some BeOS-isms */ #endif