From 5a8ce91119f928d112f41ec36331ccb8a0f09832 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 3 Mar 2009 06:07:08 +0000 Subject: [PATCH] fix warning when using some extensions defined in glext.h SVN revision: 39341 --- .../src/modules/engines/gl_common/evas_gl_common.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/legacy/evas/src/modules/engines/gl_common/evas_gl_common.h b/legacy/evas/src/modules/engines/gl_common/evas_gl_common.h index 39c6dd6255..1fd8b97097 100644 --- a/legacy/evas/src/modules/engines/gl_common/evas_gl_common.h +++ b/legacy/evas/src/modules/engines/gl_common/evas_gl_common.h @@ -23,15 +23,17 @@ #include #ifdef BUILD_ENGINE_GL_GLEW -#include +# include +#else +# define GL_GLEXT_PROTOTYPES #endif /* BUILD_ENGINE_GL_GLEW */ #ifdef BUILD_ENGINE_GL_QUARTZ -#include -#include +# include +# include #else -#include -#include +# include +# include #endif /* BUILD_ENGINE_GL_QUARTZ */ typedef struct _Evas_GL_Context Evas_GL_Context;