gl_common: fix compilation on OS X 10.8
commitdb111a2c0d50efe322891e60c2ed42a5589cda03
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Fri, 27 Jul 2012 16:01:45 +0000 (27 18:01 +0200)
committerUoti Urpala <uau@mplayer2.org>
Fri, 3 Aug 2012 22:35:32 +0000 (4 01:35 +0300)
treed0433a7b35f9fbaf15bc9af0e4af689b8b4ddb9a
parentd549a555bb0021809d853e3d95af32cd96e3ff20
gl_common: fix compilation on OS X 10.8

As of OS X 10.8 Apple completely removed X11 from the system.
gl_common.h was including gl.h using the path <GL/gl.h>. This path
comes from the X11 headers, which are missing in 10.8.

Change gl_common.h to include gl.h from Apple's OpenGL implementation
as <OpenGL/gl.h> if X11/XQuartz is not detected.
libvo/gl_common.h