$NetBSD: patch-ab,v 1.2 2005/12/30 22:41:27 joerg Exp $ --- bitesex.h.orig 1997-05-25 21:18:10.000000000 +0000 +++ bitesex.h @@ -19,13 +19,15 @@ #ifdef _INCLUDE_HPUX_SOURCE #include #else -#ifdef __mips +#if defined(__mips) && !defined(__NetBSD__) #include #else #ifdef _AIX #include #else -#ifdef __FreeBSD__ +#if defined(__DragonFly__) +#include +#elif defined(__FreeBSD__) || defined(__NetBSD__) #include #else #if defined(__svr4__) @@ -37,7 +39,7 @@ #error Compiling for an unknown architecture! #endif /* Win95 */ #endif /* SVR4 */ -#endif /* FreeBSD */ +#endif /* FreeBSD/NetBSD */ #endif /* AIX */ #endif /* DEC */ #endif /* HPUX */