Mesa (master): gbm: add a couple missing includes

Ben Widawsky bwidawsk at kemper.freedesktop.org
Mon Oct 17 16:27:44 UTC 2016


Module: Mesa
Branch: master
Commit: e9864f93c619a9e4c7c5c1eb40268e9241341d7d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9864f93c619a9e4c7c5c1eb40268e9241341d7d

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Mon Oct 17 11:39:27 2016 +0100

gbm: add a couple missing includes

Needed for memset() and drmIoctl().

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

---

 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"




More information about the mesa-commit mailing list