diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-17 10:21:13 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-05-12 08:02:11 -0700 |
commit | 145ae03814cb3b700b6fe1fd19f8fb15da84d1c8 (patch) | |
tree | 8bf3d6ec71ad76dce68cce9d58449d943e0ccd8c | |
parent | 4962c8c08842d9d3ca66d254b1ce4cacc4fb3756 (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.c | 4 |
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> |