/*	$NetBSD: port-fix.h,v 1.2 1995/12/09 22:54:26 tls 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 <machine/endian.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__ */

