summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-17 10:21:13 +0900
committerKeith Packard <keithp@keithp.com>2015-05-12 08:02:11 -0700
commit145ae03814cb3b700b6fe1fd19f8fb15da84d1c8 (patch)
tree8bf3d6ec71ad76dce68cce9d58449d943e0ccd8c
parent4962c8c08842d9d3ca66d254b1ce4cacc4fb3756 (diff)
modesetting: Include dix-config.h from dumb_bo.c
Fixes mmap failures with 32-bit builds. Signed-off-by: Michel Dänzer <michel@daenzer.net> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--hw/xfree86/drivers/modesetting/dumb_bo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/drivers/modesetting/dumb_bo.c b/hw/xfree86/drivers/modesetting/dumb_bo.c
index 58d420e07..cf13f0a9c 100644
--- a/hw/xfree86/drivers/modesetting/dumb_bo.c
+++ b/hw/xfree86/drivers/modesetting/dumb_bo.c
@@ -25,6 +25,10 @@
*
*/
+#ifdef HAVE_DIX_CONFIG_H
+#include "dix-config.h"
+#endif
+
#include "dumb_bo.h"
#include <errno.h>