Don't use the system OpenGL headers, ever. (the replacement header is from Mesa, under what the MIT license.)