Some tweaks are needed to avoid implicit ints and implicit function declarations. The upstream web site is still up, but I couldn't find a contact link or some other way to submit patches, and it hasn't been updated in a while. So we need to keep the fix as a downstream-only patch.