From Anders F Bjorklund:
authorSam Lantinga <slouken@libsdl.org>
Wed, 12 Apr 2006 14:37:05 +0000
changeset 1619e79e4c5e531b
parent 1618 3b08574f4c60
child 1620 2fe5319df0e1
From Anders F Bjorklund:

When switching to "UNIX-style paths" as needed for the new includes,
including <GL/gl.h> and <GL/glu.h> doesn't work anymore on Mac OS...

The two headers are really located in the OpenGL SDK 1.2 CFM like this:
OpenGL:Headers:gl.h
OpenGL:Headers:glu.h

There are also some compat copies, that *used* to work with Mac paths:
OpenGL:Headers:GL/gl.h
OpenGL:Headers:GL/glu.h

The easiest fix is to make SDL_opengl.h include the proper header names,
by adding a special case for the MACOS platform in addition to the MACOSX
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Wed Apr 12 14:25:29 2006 +0000
     1.2 +++ b/include/SDL_opengl.h	Wed Apr 12 14:37:05 2006 +0000
     1.3 @@ -37,6 +37,9 @@
     1.4  #if defined(__MACOSX__)
     1.5  #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
     1.6  #include <OpenGL/glu.h>	/* Header File For The GLU Library */
     1.7 +#elif defined(__MACOS__)
     1.8 +#include <gl.h>		/* Header File For The OpenGL Library */
     1.9 +#include <glu.h>	/* Header File For The GLU Library */
    1.10  #else
    1.11  #include <GL/gl.h>	/* Header File For The OpenGL Library */
    1.12  #include <GL/glu.h>	/* Header File For The GLU Library */