diff --git a/dri3/dri3.h b/dri3/dri3.h index 5d2d8dda0..f79b79363 100644 --- a/dri3/dri3.h +++ b/dri3/dri3.h @@ -128,9 +128,6 @@ typedef struct dri3_screen_info { extern _X_EXPORT Bool dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info); -extern _X_EXPORT int -dri3_send_open_reply(ClientPtr client, int fd); - extern _X_EXPORT uint32_t drm_format_for_depth(uint32_t depth, uint32_t bpp); diff --git a/dri3/dri3_priv.h b/dri3/dri3_priv.h index f4eaca3cc..4db89cbb5 100644 --- a/dri3/dri3_priv.h +++ b/dri3/dri3_priv.h @@ -115,4 +115,7 @@ dri3_get_supported_modifiers(ScreenPtr screen, DrawablePtr drawable, int dri3_import_syncobj(ClientPtr client, ScreenPtr screen, XID id, int fd); +int +dri3_send_open_reply(ClientPtr client, int fd); + #endif /* _DRI3PRIV_H_ */ diff --git a/hw/xwayland/xwayland-glamor-gbm.c b/hw/xwayland/xwayland-glamor-gbm.c index 465675ef5..2512d7aa9 100644 --- a/hw/xwayland/xwayland-glamor-gbm.c +++ b/hw/xwayland/xwayland-glamor-gbm.c @@ -55,6 +55,7 @@ #include #include "drm-client-protocol.h" +#include "dri3/dri3_priv.h" #include "glamor/glamor_priv.h" #include "xwayland-glamor.h"