$NetBSD: patch-ac,v 1.1.1.1 2007/02/09 19:57:48 drochner Exp $ --- include/mpeg4ip_byteswap.h.orig 2006-04-28 09:17:18.000000000 +0000 +++ include/mpeg4ip_byteswap.h @@ -50,6 +50,12 @@ #define B2N_32(x) x = swap32(x) #define B2N_64(x) x = swap64(x) +#elif defined(__DragonFly__) +#include +#define B2N_16(x) x = be16toh(x) +#define B2N_32(x) x = be32toh(x) +#define B2N_64(x) x = be64toh(x) + /* This is a slow but portable implementation, it has multiple evaluation * problems so beware. * FreeBSD and Solaris don't have or any other such