On Fri, Dec 9, 2016 at 1:30 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@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.veli...@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@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