diff --git a/auto/src/glxew_head.h b/auto/src/glxew_head.h index e87c746..3c07fdd 100644 --- a/auto/src/glxew_head.h +++ b/auto/src/glxew_head.h @@ -50,7 +50,11 @@ extern "C" { typedef XID GLXDrawable; typedef XID GLXPixmap; +#ifdef __sun +typedef struct __glXcontextRec *GLXContext; +#else typedef struct __GLXcontextRec *GLXContext; +#endif extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);