[Mesa-dev] [PATCH 17/28] auxiliary/vl: attempt to fix X11-less builds

Nayan Deshmukh nayan26deshmukh at gmail.com
Tue Dec 13 18:32:28 UTC 2016


On Fri, Dec 9, 2016 at 1:30 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Use the proper guard around the include and use void * instead of
> Display *.
>
Some part of the patch is missing.

Regards,
Nayan
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/gallium/auxiliary/vl/vl_winsys.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h
> index 26db9f2..f6ee36c 100644
> --- a/src/gallium/auxiliary/vl/vl_winsys.h
> +++ b/src/gallium/auxiliary/vl/vl_winsys.h
> @@ -32,7 +32,9 @@
>  #ifndef vl_winsys_h
>  #define vl_winsys_h
>
> +#if defined(HAVE_PLATFORM_X11)
>  #include <X11/Xlib.h>
> +#endif
>  #include "pipe/p_defines.h"
>  #include "pipe/p_format.h"
>
> --
> 2.10.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list