$NetBSD: patch-ad,v 1.4 2005/11/08 01:21:11 tv Exp $

--- include/FLAC/ordinals.h.orig	2005-01-24 23:12:17.000000000 -0500
+++ include/FLAC/ordinals.h
@@ -32,7 +32,7 @@
 #ifndef FLAC__ORDINALS_H
 #define FLAC__ORDINALS_H
 
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__INTERIX)
 #include <inttypes.h>
 #endif
 
@@ -52,8 +52,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;
 
