2349d5f672
forkfd_qt.c includes <forkfd.h> (whose forkfd_wait4 prototype takes struct rusage*) before struct rusage is declared at file scope; sys/resource.h is only pulled in later by forkfd.c. So the header prototype gets a prototype-scoped struct rusage incompatible with the file-scope one in the definition -> "conflicting types for forkfd_wait4". 6.11.0 qglobal.h pulled it in transitively; 6.11.1 does not. Fix: include <sys/resource.h> before <forkfd.h>. Durable patch, wired into qtbase recipe.