diff --git a/scsh/syscalls1.c b/scsh/syscalls1.c index c247c7f..c171bef 100644 --- a/scsh/syscalls1.c +++ b/scsh/syscalls1.c @@ -12,7 +12,18 @@ #include #include /* for O_RDWR */ #include + #include +/* This losage brought to you by Solaris and BIND */ +/* We thank Solaris for forcing users to get a new BIND */ +/* We thank BIND for blowing away the Solaris includea for MAXHOSTNAMELEN */ +#ifndef MAXHOSTNAMELEN +#include +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN MAXDNAME +#endif +#endif + #include #include /* For gethostname() */ #include