*** datrie/typedefs.h.ORIG	Tue Apr 22 12:25:57 2008
--- datrie/typedefs.h	Tue Apr 22 12:26:06 2008
***************
*** 10,16 ****
  
  #include <limits.h>
  
! typedef enum { FALSE = 0, TRUE = 1 } Bool;
  
  # if UCHAR_MAX == 0xff
  #   ifndef UINT8_TYPEDEF
--- 10,16 ----
  
  #include <limits.h>
  
! typedef enum { mpFALSE = 0, mpTRUE = 1 } Bool;
  
  # if UCHAR_MAX == 0xff
  #   ifndef UINT8_TYPEDEF
*** ./datrie/tail.c.ORIG	Wed Nov 12 08:56:42 2014
--- ./datrie/tail.c	Wed Nov 12 08:57:07 2014
***************
*** 26,33 ****
--- 26,42 ----
  
  #include <string.h>
  #include <stdlib.h>
+ #if defined(_AIX) && !defined(_AIX52)
+ #include <inttypes.h>
+ # if (__64BIT__)
+ #  define SIZE_MAX        UINT64_MAX
+ # else
+ #  define SIZE_MAX        UINT32_MAX
+ # endif
+ #else
  #ifndef _MSC_VER /* for SIZE_MAX */
  # include <stdint.h>
+ #endif
  #endif
  #include <stdio.h>
  
*** ./datrie/darray.c.ORIG	Wed Nov 12 08:54:34 2014
--- ./datrie/darray.c	Wed Nov 12 08:56:32 2014
***************
*** 26,33 ****
--- 26,42 ----
  
  #include <string.h>
  #include <stdlib.h>
+ #if defined(_AIX) && !defined(_AIX52)
+ #include <inttypes.h>
+ # if (__64BIT__)
+ #  define SIZE_MAX        UINT64_MAX
+ # else
+ #  define SIZE_MAX        UINT32_MAX
+ # endif
+ #else
  #ifndef _MSC_VER /* for SIZE_MAX */
  # include <stdint.h>
+ #endif
  #endif
  #include <stdio.h>
  
