$NetBSD: patch-ae,v 1.8 2007/11/30 22:31:17 wiz Exp $ --- src/fcint.h.orig 2007-11-13 23:23:39.000000000 +0000 +++ src/fcint.h @@ -35,6 +35,21 @@ #include #elif defined(HAVE_STDINT_H) #include +#elif defined(__INTERIX) + +/* limits.h has a definition for ALIGN() that conflicts with the one below */ +# include +# 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