Since commit 654646fe6187abcf9ced6a3ace80eaf04754fd39, the webkit.h file is generated and does only define __WEBKIT_H_INSIDE__. So replace the only remaining __WEBKIT2_H_INSIDE__ defines to avoid any "Only <webkit2/webkit2.h> can be included directly." error. In file included from /home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit2/webkit2.h:81, from /home/thomas/buildroot/output/build/barco-browser-304bc1b4a82ff20e7c5e2ab8eaf1cd2611812efe/main.c:14: /home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit/WebKitURISchemeResponse.h:21:2: error: #error "Only <webkit2/webkit2.h> can be included directly." 21 | #error "Only <webkit2/webkit2.h> can be included directly." | ^~~~~
Committed 258974@main (9fe47e98a7f3): <https://commits.webkit.org/258974@main> Reviewed commits have been landed. Closing PR #8713 and removing active labels.
Committed 258976@main (8f11ad0813c3): <https://commits.webkit.org/258976@main> Reviewed commits have been landed. Closing PR #8718 and removing active labels.