The needed header files to build OpenGL support in Wine are :
gl.h:
the definition of all OpenGL core functions, types and enumerants
glx.h:
how OpenGL integrates in the X Window environment
glext.h:
the list of all registered OpenGL extensions
The latter file (glext.h) is, as of
now, not necessary to build Wine. But as this file can be
easily obtained from SGI
( http://oss.sgi.com/projects/ogl-sample/ABI/glext.h),
and that all OpenGL should provide one, I decided to keep it here.
The core of Wine's OpenGL implementation (at least for all
extensions) is the glXGetProcAddressARB
function. Your OpenGL library needs to have this function
defined for Wine to be able to support OpenGL.