Get socketmodule compiling on IRIX 6.5.10.

I don't think the fix here is very good, but I'm not sure what would
be better.  In particular, we should not be defining _SGIAPI, but lots
of things break if we remove it.
1 file changed