*** ./include/nc.h.ORIG	Tue Jul 19 13:25:12 2011
--- ./include/nc.h	Tue Jul 19 13:33:13 2011
***************
*** 12,18 ****
--- 12,22 ----
  #include <config.h>
  #include <stddef.h>	/* size_t */
  #ifndef HAVE_STDINT_H
+ # ifdef _AIX51
+ #  include <inttypes.h>
+ # else
  #  include "pstdint.h"	/* attempts to define uint32_t etc portably */
+ # endif
  #else
  #  include <stdint.h>
  #endif /* HAVE_STDINT_H */
*** ./libsrc/lookup3.c.ORIG	Tue Jul 19 13:31:17 2011
--- ./libsrc/lookup3.c	Tue Jul 19 13:32:51 2011
***************
*** 50,56 ****
--- 50,60 ----
  #include <stdio.h>      /* defines printf for tests */
  #include <time.h>       /* defines time_t for timings in the test */
  #ifndef HAVE_STDINT_H
+ # ifdef _AIX51
+ #  include <inttypes.h>
+ # else
  #  include "pstdint.h"	/* attempts to define uint32_t etc portably */
+ # endif
  #else
  #  include <stdint.h>
  #endif /* HAVE_STDINT_H */
