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

2016-12-13 Thread Nayan Deshmukh
On Fri, Dec 9, 2016 at 1:30 AM, Emil Velikov  wrote:
> From: Emil Velikov 
>
> 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 
> ---
>  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 
> +#endif
>  #include "pipe/p_defines.h"
>  #include "pipe/p_format.h"
>
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2016-12-08 Thread Emil Velikov
From: Emil Velikov 

Use the proper guard around the include and use void * instead of
Display *.

Signed-off-by: Emil Velikov 
---
 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 
+#endif
 #include "pipe/p_defines.h"
 #include "pipe/p_format.h"
 
-- 
2.10.2

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev