Add a missing #ifdef and remove a left-over include to make gbm optional

https://bugzilla.gnome.org/show_bug.cgi?id=741829
This commit is contained in:
Ting-Wei Lan
2014-12-21 16:54:59 +08:00
parent 69079b3b48
commit aeef98fd19
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,10 @@
#include "meta-cursor.h"
#include <cogl/cogl.h>
#ifdef HAVE_NATIVE_BACKEND
#include <gbm.h>
#endif
typedef struct {
CoglTexture2D *texture;