diff --git a/src/virgl_egl.h b/src/virgl_egl.h index 35b3d62..13f4801 100644 --- a/src/virgl_egl.h +++ b/src/virgl_egl.h @@ -24,6 +24,7 @@ #ifndef VIRGL_EGL_H #define VIRGL_EGL_H +#include "virglrenderer.h" #include "vrend_renderer.h" struct virgl_egl; struct virgl_gbm; diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 845d0f7..9fd6df4 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -57,6 +57,13 @@ #include #endif +#ifdef HAVE_EPOXY_EGL_H +#include "virgl_gbm.h" +#include "virgl_egl.h" +extern struct virgl_gbm *gbm; +extern struct virgl_egl *egl; +#endif + /* debugging via KHR_debug extension */ int vrend_use_debug_cb = 0;