Opengl headers

I am including
#include <OpenGL/gl3.h>
#include <SDL2/SDL_opengl.h>

this causes compiler warning:
/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:5:2: warning: gl.h
and gl3.h are both included. Compiler will not
invoke errors if using removed OpenGL functionality. [-W#warnings]
#warning gl.h and gl3.h are both included. Compiler will not invoke errors
if using removed OpenGL functionality.

Is there a way to remove these warning?