summaryrefslogtreecommitdiffstats
path: root/include/GL
diff options
context:
space:
mode:
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 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