summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-10-17 11:39:27 +0100
committerBen Widawsky <[email protected]>2016-10-17 08:47:38 -0700
commite9864f93c619a9e4c7c5c1eb40268e9241341d7d (patch)
tree5e9caee98238993bfe7d0f432aec32f141eef881 /src
parent8785a8ff8948385a913e9bd75e8cdd1092bd750f (diff)
gbm: add a couple missing includes
Needed for memset() and drmIoctl(). Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src')
-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"