Created attachment 74125 [details] Fix gallium/auxiliary build src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c includes state_tracker/xlib_sw_winsys.h which includes the Xlib header. This file has already a check for HAVE_WINSYS_XLIB, attached a patch to add a second check around the file inclusion.
Where is HAVE_WINSYS_XLIB defined? I don't think it ever is, which makes the existing check to use it wrong.
(In reply to comment #1) > Where is HAVE_WINSYS_XLIB defined? I don't think it ever is, which makes the > existing check to use it wrong. Oh, right, it’s only used in configure.ac but never defined code-wise. The check is then probably wrong, but worked since the beginning (e1364530622a26f11c79694429cf84418a0b7ef7). Should I drop both part or add a proper AC_DEFINE then?
Created attachment 78980 [details] [review] Fix gallium/auxiliary build A new patch to just drop the (wrong) check
Similar patch accepted in Bug 75356.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.