include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 23 Nov 2003 16:22:54 +0000 (16:22 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 23 Nov 2003 16:22:54 +0000 (16:22 +0000)
include/GL/gl.h

index 39c5113c4d2a6ea01565ee2ba52a449da7a02b90..2d3830429133b32b5224c3dd72718df3d771b3d5 100644 (file)
@@ -37,7 +37,9 @@
  * included. 
  */
 #if !defined(__SCITECH_SNAP__)
+
+#include <malloc.h>     /* to get ptrdiff_t, used below */
+
 #if defined(__BEOS__)
 #include <stdlib.h>     /* to get some BeOS-isms */
 #endif