Define bsd source for linux to get prototype gethostname