From 41fe245625d98d07a84f5949139f1ae89b3b7755 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Sat, 23 Feb 2013 19:22:50 -0800 Subject: [PATCH] Move weston-egl-ext.h include to gles2-renderer.c The weston-egl-ext.h include in compositor.h is not needed. Rather, it is only needed by gles2-renderer.c. This also fixes external module compile error since weston-egl-ext.h is not part of the Weston SDK: weston/compositor.h:39:28: fatal error: weston-egl-ext.h: No such file or directory Signed-off-by: U. Artie Eoff --- src/compositor.h | 1 - src/gles2-renderer.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.h b/src/compositor.h index 4b77abd..740009c 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -36,7 +36,6 @@ #include "version.h" #include "matrix.h" #include "config-parser.h" -#include "weston-egl-ext.h" #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) diff --git a/src/gles2-renderer.c b/src/gles2-renderer.c index 544cc15..179d592 100644 --- a/src/gles2-renderer.c +++ b/src/gles2-renderer.c @@ -29,6 +29,7 @@ #include #include "compositor.h" +#include "weston-egl-ext.h" static const char * egl_error_string(EGLint code) -- 2.7.4