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 39c5113..2d38304 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