$NetBSD: patch-ai,v 1.1.1.1 2010/12/15 03:22:45 jnemeth Exp $ --- include/asterisk/endian.h.orig 2008-10-09 10:51:25.000000000 -0700 +++ include/asterisk/endian.h @@ -31,6 +31,11 @@ #ifndef __BYTE_ORDER #ifdef __linux__ #include +#elif defined(__DragonFly__) +#include +#define __BYTE_ORDER BYTE_ORDER +#define __LITTLE_ENDIAN LITTLE_ENDIAN +#define __BIG_ENDIAN BIG_ENDIAN #elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) #if defined(__OpenBSD__) #include "asterisk/compat.h"