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:
parent
aa6433d8c5
commit
056daad850
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user