summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2016-10-17 11:39:27 +0100
committerBen Widawsky <ben@bwidawsk.net>2016-10-17 08:47:38 -0700
commite9864f93c619a9e4c7c5c1eb40268e9241341d7d (patch)
tree5e9caee98238993bfe7d0f432aec32f141eef881 /src/gbm
parent8785a8ff8948385a913e9bd75e8cdd1092bd750f (diff)
gbm: add a couple missing includes
Needed for memset() and drmIoctl(). Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/dri/gbm_driint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h
index 1644facd9bd..26376efb1ed 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"