*** ./lib/wincompat.h.ORIG	Thu Jan  7 10:46:25 2010
--- ./lib/wincompat.h	Thu Jan  7 10:46:51 2010
***************
*** 41,46 ****
--- 41,50 ----
  
  #endif
  
+ #ifdef _AIX
+ #define atoll(X) strtoll(X, (char **)NULL, 10)
+ #endif
+ 
  #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
       || defined(__MINGW32__))
  
