*** ./src/network.cc.ORIG	Wed Apr 13 21:01:53 2011
--- ./src/network.cc	Wed Apr 13 21:02:21 2011
***************
*** 283,288 ****
--- 283,292 ----
     return a;
  }
  
+ #ifdef _AIX51
+ #define IPV6_V6ONLY             37   /* IPv6 only communication */
+ #endif
+ 
  void Networker::SocketSinglePF(int s,int pf)
  {
  #if INET6
*** ./lib/error.c.ORIG	Wed Jun 29 23:59:58 2011
--- ./lib/error.c	Wed Jun 29 23:53:07 2011
***************
*** 104,110 ****
--- 104,112 ----
  #  if STRERROR_R_CHAR_P
  char *strerror_r ();
  #  else
+ #ifndef _AIX
  int strerror_r ();
+ #endif
  #  endif
  # endif
  
