summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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