$NetBSD: patch-ae,v 1.7 2007/01/30 17:03:50 tv Exp $

--- src/fcint.h.orig	2007-11-13 23:23:39.000000000 +0000
+++ src/fcint.h
@@ -35,6 +35,21 @@
 #include <inttypes.h>
 #elif defined(HAVE_STDINT_H)
 #include <stdint.h>
+#elif defined(__INTERIX)
+
+/* limits.h has a definition for ALIGN() that conflicts with the one below */
+#  include <limits.h>
+#  undef ALIGN
+/* Interix 3.x has a gcc that shadows this. */
+#  ifndef _INTPTR_T_DEFINED
+     typedef long intptr_t;
+#  define _INTPTR_T_DEFINED
+#  endif
+#  ifndef _UINTPTR_T_DEFINED
+     typedef unsigned long uintptr_t;
+#  define _UINTPTR_T_DEFINED
+#  endif
+
 #else
 #error missing C99 integer data types
 #endif
