#ifdef DECL_GETHOSTNAME
extern int gethostname (char *, int);
#endif