Created attachment 203180 [details]
GCC currently doesn't know about some E* macros for errors. Make them ifdef'd. Additionally, remove check for ETIMEDOUT, which is apparently the same value as ETIME (this also causes an error).
Tested on powerpc64 and amd64.
Thanks for the patch, I'm testing the one in 236765 and will commit along with other fixes.
*** This bug has been marked as a duplicate of bug 236765 ***