https://bugs.winehq.org/show_bug.cgi?id=53930
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Looks like we don't actually need that header. That is, the fallback to getopt-compat.h to seems to be sufficient here. Does the build succeed if you remove the define?