summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.h2
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_screen.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.h b/src/mesa/drivers/dri/mach64/mach64_context.h
index 92fea6e8eb5..03b90a44717 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.h
+++ b/src/mesa/drivers/dri/mach64/mach64_context.h
@@ -35,7 +35,7 @@
#ifdef GLX_DIRECT_RENDERING
#include "dri_util.h"
-
+#include "drm.h"
#include "xf86drm.h"
#include "mach64_common.h"
diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.h b/src/mesa/drivers/dri/mach64/mach64_screen.h
index 3c4794a7c1d..2dc3dc6c03f 100644
--- a/src/mesa/drivers/dri/mach64/mach64_screen.h
+++ b/src/mesa/drivers/dri/mach64/mach64_screen.h
@@ -35,6 +35,7 @@
#ifdef GLX_DIRECT_RENDERING
#include "mach64_sarea.h"
+#include "drm_sarea.h"
#include "xmlconfig.h"
typedef struct {