[PATCH 2/2] modesetting: Include dix-config.h from dumb_bo.c

Alex Deucher alexdeucher at gmail.com
Tue Mar 17 06:37:40 PDT 2015


On Mon, Mar 16, 2015 at 9:21 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Fixes mmap failures with 32-bit builds.
>
> Signed-off-by: Michel Dänzer <michel at daenzer.net>

For the series:

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list