Back-port several small portability fixes to get contrib building

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ae1d34f23ab361df3e05163fe83766b4a14e740d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-08-02T01:35:23Z
Releases: 8.0.4
Back-port several small portability fixes to get contrib building
cleanly on AIX in the 8.0 branch.  Rocco Altier

Files