diff --git a/wayvnc/wayvnc.spec b/wayvnc/wayvnc.spec index d93bef8..9285c5e 100644 --- a/wayvnc/wayvnc.spec +++ b/wayvnc/wayvnc.spec @@ -37,7 +37,8 @@ The Wayland session may be a headless one, so it is also possible to run wayvnc %prep %setup -q -find . -type f \( -name '*.c' -o -name '*.h' \) -exec sed -i "s|wayland-client.h|wayland/wayland-client.h|g" {} + +# Keep upstream include style: +find . -type f \( -name '*.c' -o -name '*.h' \) -exec sed -i "s|wayland/wayland-client.h|wayland-client.h|g" {} + %build %meson