The GL path of the Mountain Lion is different. Including the gl.h path in this patch.
Signed-off-by: Gao Fengqian <fengqian.gao@intel.com>
--enable-hax \
--disable-vnc \
--enable-cocoa \
- --disable-gl \
+ --enable-gl \
--disable-sdl $1
;;
esac
#include <windows.h>
#include <GL/gl.h>
#include <GL/glext.h>
+#elif __APPLE__
+#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include <windows.h>
#include <GL/gl.h>
#include <GL/glext.h>
+#elif __APPLE__
+#include <OpenGL/gl.h>
+#include <sys/time.h>
#else
#include <GL/gl.h>
#include <sys/time.h>