diff options
author | Brian Paul <[email protected]> | 2003-11-23 16:22:54 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-23 16:22:54 +0000 |
commit | 91b6a4aa901e09b395cf6d81ed29dfe281dbc9f7 (patch) | |
tree | 2bca4e64b14c51e50529ae2a8276f8d00cf066e3 | |
parent | 8525fae3b8276441883604a1ced32a46b85d5adf (diff) |
include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr
-rw-r--r-- | include/GL/gl.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <malloc.h> /* to get ptrdiff_t, used below */ + #if defined(__BEOS__) #include <stdlib.h> /* to get some BeOS-isms */ #endif |