aboutsummaryrefslogtreecommitdiffstats
path: root/src/drm-shim/drm_shim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drm-shim/drm_shim.h')
-rw-r--r--src/drm-shim/drm_shim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drm-shim/drm_shim.h b/src/drm-shim/drm_shim.h
index 2cd053f6d65..2d262fa35d4 100644
--- a/src/drm-shim/drm_shim.h
+++ b/src/drm-shim/drm_shim.h
@@ -24,6 +24,8 @@
#include "util/macros.h"
#include "util/hash_table.h"
+#include <xf86drm.h>
+
#ifdef __linux__
#define DRM_MAJOR 226
#endif
@@ -44,6 +46,7 @@ struct shim_device {
/* Returned by drmGetVersion(). */
const char *driver_name;
int version_major, version_minor, version_patchlevel;
+ int bus_type;
};
extern struct shim_device shim_device;