$NetBSD: patch-src_d__array.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $ Detect endianness on NetBSD. --- src/d_array.c.orig 2010-07-28 20:55:17.000000000 +0000 +++ src/d_array.c @@ -502,7 +502,7 @@ static void tabread4_tilde_setup(void) #include #endif -#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__) +#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) #include #endif