gbm: add a couple missing includes
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 17 Oct 2016 10:39:27 +0000 (11:39 +0100)
committerBen Widawsky <ben@bwidawsk.net>
Mon, 17 Oct 2016 15:47:38 +0000 (08:47 -0700)
Needed for memset() and drmIoctl().

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gbm/backends/dri/gbm_driint.h

index 1644facd9bd50d93306cbf04f2cfed975321ef74..26376efb1edd387d6b234e767fda38db71e15a1f 100644 (file)
@@ -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"