[waffle] [PATCH 04/10] wegl: fix wegl_util.h includes and declarations

Frank Henigman fjhenigman at google.com
Mon Mar 30 12:12:44 PDT 2015


Remove unnecessary includes.
Add needed forward struct declarations.

Signed-off-by: Frank Henigman <fjhenigman at google.com>
---
 src/waffle/egl/wegl_util.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/waffle/egl/wegl_util.h b/src/waffle/egl/wegl_util.h
index bb1692f..f535930 100644
--- a/src/waffle/egl/wegl_util.h
+++ b/src/waffle/egl/wegl_util.h
@@ -26,13 +26,12 @@
 #pragma once
 
 #include <stdbool.h>
-#include <stdint.h>
-
-#include <EGL/egl.h>
 
 struct wcore_context;
 struct wcore_display;
+struct wcore_platform;
 struct wcore_window;
+
 struct wegl_platform;
 
 /// @brief Sets the waffle error with info from eglGetError().
-- 
2.2.0.rc0.207.ga3a616c



More information about the waffle mailing list