diff --git a/gfx/common/egl_common.h b/gfx/common/egl_common.h index 48b34eedef..70d2ef680c 100644 --- a/gfx/common/egl_common.h +++ b/gfx/common/egl_common.h @@ -18,6 +18,10 @@ #include +#ifdef HAVE_GBM +/* presense or absense of this include makes egl.h change NativeWindowType between gbm_device* and _XDisplay* */ +#include +#endif #include #include