/*	$NetBSD: port-fix.h,v 1.3 1996/10/13 00:03:14 christos Exp $	*/

/*
 * Fix things autoconf does not do all that well...
 */

#if defined(__NetBSD__) || defined(__FreeBSD__)

/* Make endian-ness portable without needing re-run of configure */
#include <sys/types.h>
#if (BYTE_ORDER == BIG_ENDIAN)
#define WORDS_BIGENDIAN 1
#endif

/* Fix setreuid() usage on NetBSD (present but deprecated) */
#ifdef __NetBSD__
#undef HAVE_SETREUID
#endif

#endif /* __NetBSD__ || __FreeBSD__ */

