$NetBSD: patch-ab,v 1.9 2005/12/03 15:06:42 salo Exp $ --- UnAlz.cpp.orig 2005-11-21 14:18:13.000000000 +0100 +++ UnAlz.cpp 2005-12-03 15:57:40.000000000 +0100 @@ -1,6 +1,6 @@ //#include "stdafx.h" -#include "zlib/zlib.h" -#include "bzip2/bzlib.h" +#include +#include #include "UnAlz.h" // utime ΗΤΌφ Γ³Έ® @@ -43,13 +43,13 @@ //// byte-order : little to host //// //////////////////////////////////////////////////////////////////////////// -#if defined(_WIN32) || defined(__CYGWIN__) // little to little +#if defined(_WIN32) || defined(__CYGWIN__) || defined(__INTERIX) // little to little inline UINT16 unalz_le16toh(UINT16 a){return a;} inline UINT32 unalz_le32toh(UINT32 a){return a;} inline UINT64 unalz_le64toh(UINT64 a){return a;} #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) # include inline UINT16 unalz_le16toh(UINT16 a){return le16toh(a);} inline UINT32 unalz_le32toh(UINT32 a){return le32toh(a);}