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>
This commit is contained in:
Robert Bragg 2011-11-28 22:39:19 +00:00
parent aa6433d8c5
commit 056daad850

View File

@ -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
{