$NetBSD: patch-ah,v 1.2 2002/10/25 10:30:37 wiz Exp $ --- speakfree.h.orig Tue Sep 14 14:17:32 1999 +++ speakfree.h @@ -20,6 +20,18 @@ #define _BSD_SIGNALS #endif +/* + * NetBSD is cross-platform, so determine endianness from machine-specific + * header files. + */ +#if defined(__NetBSD__) +#include /* needed for NetBSD <= 1.4.x */ +#include +#if BYTE_ORDER == LITTLE_ENDIAN +#define M_LITTLE_ENDIAN +#endif +#endif /* __NetBSD__ */ + #include #include #include @@ -61,8 +73,8 @@ #endif #ifdef CRYPTO -#include "blowfish.h" -#include "des.h" +#include "openssl/blowfish.h" +#include "openssl/des.h" #endif #include "ulaw2linear.h"