hostname: fix sethostname prototype on linux
Merge pull request #257 from ebfe/hostname

hostname: fix sethostname prototype on linux