[Mesa-dev] [PATCH mesa] gbm: add a couple missing includes

Eric Engestrom eric.engestrom at imgtec.com
Mon Oct 17 10:39:27 UTC 2016


Needed for memset() and drmIoctl().

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 src/gbm/backends/dri/gbm_driint.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h
index 1644fac..26376ef 100644
--- a/src/gbm/backends/dri/gbm_driint.h
+++ b/src/gbm/backends/dri/gbm_driint.h
@@ -28,6 +28,8 @@
 #ifndef _GBM_DRI_INTERNAL_H_
 #define _GBM_DRI_INTERNAL_H_
 
+#include <xf86drm.h>
+#include <string.h>
 #include <sys/mman.h>
 #include "gbmint.h"
 #include "c11/threads.h"
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list