Make use of gethostname() conditional on it being available
3 files changed