summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/cgl-macosx.cfg3
-rw-r--r--make/gl-impl-macosx.cfg2
-rw-r--r--make/glu-impl-macosx.cfg2
-rw-r--r--make/jawt-macosx.cfg2
4 files changed, 9 insertions, 0 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg
index b3eab2184..7d9111c94 100644
--- a/make/cgl-macosx.cfg
+++ b/make/cgl-macosx.cfg
@@ -13,6 +13,8 @@ Opaque long void *
# this was the easiest way of sharing the prototypes between these files
CustomCCode typedef int Bool;
+CustomCCode #include </usr/include/ppc/types.h>
+
CustomCCode extern void* createContext(void* shareContext, void* nsView,
CustomCCode int redBits,
CustomCCode int greenBits,
@@ -45,3 +47,4 @@ CustomCCode extern void* getProcAddress(const char *procName);
# Implement the first argument to getProcAddress as String instead
# of byte[]
ArgumentIsString getProcAddress 0
+
diff --git a/make/gl-impl-macosx.cfg b/make/gl-impl-macosx.cfg
index 9edf96731..10b77dbfa 100644
--- a/make/gl-impl-macosx.cfg
+++ b/make/gl-impl-macosx.cfg
@@ -22,6 +22,8 @@ CustomCCode #define GL_GLEXT_PROTOTYPES
CustomCCode /* Include the OpenGL headers */
CustomCCode #include <GL/gl.h>
+CustomCCode #include </usr/include/ppc/types.h>
+
CustomCCode /* Provide Windows typedefs */
CustomCCode typedef void* LPVOID;
CustomCCode typedef unsigned int* PUINT;
diff --git a/make/glu-impl-macosx.cfg b/make/glu-impl-macosx.cfg
index 6dac11f54..dbbf31412 100644
--- a/make/glu-impl-macosx.cfg
+++ b/make/glu-impl-macosx.cfg
@@ -5,3 +5,5 @@ Include glu-impl-common.cfg
CustomCCode #include <inttypes.h>
CustomCCode #include <jni.h>
+
+CustomCCode #include </usr/include/ppc/types.h> \ No newline at end of file
diff --git a/make/jawt-macosx.cfg b/make/jawt-macosx.cfg
index 829e4f80a..6c1a13b85 100644
--- a/make/jawt-macosx.cfg
+++ b/make/jawt-macosx.cfg
@@ -18,6 +18,8 @@ IgnoreField JAWT_DrawingSurfaceInfo platformInfo
CustomCCode #include <inttypes.h>
CustomCCode #include <jawt.h>
+CustomCCode #include </usr/include/ppc/types.h>
+
Import net.java.games.jogl.impl.JAWT_PlatformInfo
StructPackage JAWT_MacOSXDrawingSurfaceInfo net.java.games.jogl.impl.macosx
EmitStruct JAWT_MacOSXDrawingSurfaceInfo