ctx hence GEGL build broken on Windows
When building GEGL for Windows, we now get this error on the CI (and locally):
In file included from ../operations/common/ctx/ctx.c:24:
../operations/common/ctx/ctx.h:52:10: fatal error: sys/select.h: No such file or directory
52 | #include <sys/select.h> // XXX if events?
| ^~~~~~~~~~~~~~
compilation terminated.
I think that the sys/select.h
header is only needed in CTX_EVENTS
code path (which is not used within GEGL). The attached patch fixes it at least locally: 0001-src-sys-select.h-is-only-needed-in-CTX_EVENTS-code.patch