summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-11-23 16:22:54 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-11-23 16:22:54 +0000
commit91b6a4aa901e09b395cf6d81ed29dfe281dbc9f7 (patch)
tree2bca4e64b14c51e50529ae2a8276f8d00cf066e3 /include/GL
parent8525fae3b8276441883604a1ced32a46b85d5adf (diff)
include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 39c5113c4d..2d38304291 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -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