Reportedly the #undef sa_family is really needed on SGIs.

This commit is contained in:
Marcus Sundberg 2000-01-05 01:14:30 +00:00
parent cfbbf80801
commit 048b8393f3

View file

@ -53,6 +53,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <libc.h>
#endif
#if defined(sgi) && defined(sa_family)
/* Get rid of problematic SGI #def */
# undef sa_family
#endif
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 512
#endif