typo
gethostname() has non-standard declaration on Solaris 8-9.
INFINITY undefined on Solaris 8
AIX missing strrstr() and mkdtemp()