From: Michel Dänzer <[email protected]>

Fixes mmap failures with 32-bit builds.

Signed-off-by: Michel Dänzer <[email protected]>
---
 hw/xfree86/drivers/modesetting/dumb_bo.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/xfree86/drivers/modesetting/dumb_bo.c 
b/hw/xfree86/drivers/modesetting/dumb_bo.c
index 58d420e..cf13f0a 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>
-- 
2.1.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to