--- a/src/vrend_winsys_gbm.h
+++ b/src/vrend_winsys_gbm.h
@@ -25,7 +25,8 @@
 #ifndef VIRGL_GBM_H
 #define VIRGL_GBM_H
 
-#include <gbm.h>
+struct gbm_bo;
+
 #include "vrend_iov.h"
 #include "virglrenderer.h"
 
