[cogl] build: only include cogl-winsys-kms.h if KMS enabled
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] build: only include cogl-winsys-kms.h if KMS enabled
- Date: Mon, 28 Nov 2011 23:21:11 +0000 (UTC)
commit 056daad8508369180e4c909314aa8d3d58867db4
Author: Robert Bragg <robert linux intel com>
Date: Mon Nov 28 22:39:19 2011 +0000
build: only include cogl-winsys-kms.h if KMS enabled
Only include cogl-winsys-kms.h in cogl-winsys-egl-private.h if KMS
support has been enabled.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl/winsys/cogl-winsys-egl-private.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl-private.h b/cogl/winsys/cogl-winsys-egl-private.h
index d228ffb..2fc7784 100644
--- a/cogl/winsys/cogl-winsys-egl-private.h
+++ b/cogl/winsys/cogl-winsys-egl-private.h
@@ -27,7 +27,9 @@
#include "cogl-defines.h"
#include "cogl-winsys-private.h"
#include "cogl-context.h"
+#ifdef COGL_HAS_EGL_PLATFORM_KMS_SUPPORT
#include "cogl-winsys-kms.h"
+#endif
typedef enum _CoglEGLWinsysFeature
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]