control: forwarded -1 https://bugs.winehq.org/show_bug.cgi?id=41117
On 10.08.2016 22:41, Pino Toscano wrote: [...] > sysinfo(2) is strictly specific to Linux. [...] > Headers in sys/ and bits/ usually are implementations for the platform; > since sys/sysinfo.h is not standard, you cannot assume that it exists > only on a platform, nor what it provides. In this case, the upstream > check is wrong: it should not check for sys/sysinfo.h and assume it's > a Linux-ish implementation, but either: > a) just limit the implementation to Linux unconditionally (as in the > busybox code > b) check for sys/sysinfo.h *and* sysinfo() in it > Considering sysinfo() is not portable anyway, (b) might fail one day > if a platform provide a different implementation with the same name > (it's not standard after all). > > Hope it helps -- feel free to ask more. Thanks a lot, it helped indeed. I forwarded the issue to upstream for now. Greets jre