Ok, there does appear to be a problem with fake-addrinfo.h -- if it's included prior to any inclusion of stdio.h, it compiles code calling out to sprintf() without a prototype. This probably is only seen on platforms where we actually need to use our own getaddrinfo() implementation.