Created attachment 865490 [details, diff] Proposed fix To fix #866680 there was a forced dependency added to wayland. Instead I would add the following patch which uses the proper defines to condition the inclusion of the needed header file. All the actual _uses_ of wayland stuff is already conditionned on that define, so it's just that include that's the issue. Tested that it build fine without wayland with that diff applied.
BTW upstream applied (an equivalent) patch now. It's not yet in 3.3.115 (latest release) but it will be in 3.3.116.
Same issue here. On https://gtkwave.sourceforge.net/ they say 3.3.120 is out.