$NetBSD: patch-ad,v 1.5 2007/01/07 12:25:05 wiz Exp $ --- include/FLAC/ordinals.h.orig 2006-11-20 07:05:18.000000000 +0000 +++ include/FLAC/ordinals.h @@ -32,7 +32,7 @@ #ifndef FLAC__ORDINALS_H #define FLAC__ORDINALS_H -#if !(defined(_MSC_VER) || defined(__BORLANDC__) || defined(__EMX__)) +#if !(defined(_MSC_VER) || defined(__BORLANDC__) || defined(__EMX__) || defined(__INTERIX)) #include #endif @@ -59,8 +59,12 @@ typedef int32_t FLAC__int32; typedef int64_t FLAC__int64; typedef uint16_t FLAC__uint16; typedef uint32_t FLAC__uint32; +#if defined __INTERIX +typedef u_int64_t FLAC__uint64; +#else typedef uint64_t FLAC__uint64; #endif +#endif typedef int FLAC__bool;