[comp.mail.elm] Configure glitch on Sun OS for Elm 2.2

ignatz@chinet.chi.il.us (Dave Ihnat) (04/18/89)

Well, I've installed the new release of Elm on 4 different architectures in the
last day, and it's been painless.  Or, at least, very low-threshhold pain on
the last one.  For various reasons, I selected our Sun network to use a
compiled host name.  Unfortunately, this resulted in #undef of GETHOSTNAME;
and in 'opt_utils.c', there's a section of the form:

	#ifndef GETHOSTNAME
	#    include <sys/types>
	#    include <sys/utsname>
	#endif

Obvious assumption is that only non-BSD sites would ever want to do this.
Since there *is* no /usr/include/sys/utsname.h on BSD, this dies.  The fix
is to simply bracket the 'utsname' include with '#ifndef BSD'/'#endif'.

Otherwise, this is a clean job--thanks, folks!

	Dave Ihnat
	Analysts International Corp.
	ignatz@homebru.chi.il.us