aboutsummaryrefslogtreecommitdiffstats
path: root/make/cgl-macosx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/cgl-macosx.cfg')
-rw-r--r--make/cgl-macosx.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg
index b3eab2184..c7a7f3841 100644
--- a/make/cgl-macosx.cfg
+++ b/make/cgl-macosx.cfg
@@ -13,7 +13,10 @@ Opaque long void *
# this was the easiest way of sharing the prototypes between these files
CustomCCode typedef int Bool;
+CustomCCode #include </usr/include/machine/types.h>
+
CustomCCode extern void* createContext(void* shareContext, void* nsView,
+CustomCCode int doubleBuffer,
CustomCCode int redBits,
CustomCCode int greenBits,
CustomCCode int blueBits,
@@ -45,3 +48,4 @@ CustomCCode extern void* getProcAddress(const char *procName);
# Implement the first argument to getProcAddress as String instead
# of byte[]
ArgumentIsString getProcAddress 0
+