From 01ac4540f04d47b64aeead8984c92e39b436b5f9 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 8 Aug 2008 02:19:52 -0700 Subject: Apple: Some changes to fix compilation problems on OSX --- include/GL/internal/dri_interface.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/GL/internal/dri_interface.h') diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 033d7a4ae4..e7780d2e26 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -40,7 +40,14 @@ #ifndef DRI_INTERFACE_H #define DRI_INTERFACE_H +/* Make this something other than __APPLE__ for other arcs with no drm.h */ +#ifndef __APPLE__ #include +#else +typedef unsigned int drm_context_t; +typedef unsigned int drm_drawable_t; +typedef struct drm_clip_rect drm_clip_rect_t; +#endif /** * \name DRI interface structures -- cgit v1.2.3