*** ./include/libssh/misc.h.ORIG	Wed Jun  2 16:23:48 2010
--- ./include/libssh/misc.h	Wed Jun  2 16:26:48 2010
***************
*** 32,39 ****
--- 32,41 ----
  char *ssh_path_expand_escape(ssh_session session, const char *s);
  
  /* macro for byte ordering */
+ #ifndef _AIX
  uint64_t ntohll(uint64_t);
  #define htonll(x) ntohll(x)
+ #endif
  
  /* list processing */
  
*** ./libssh/misc.c.ORIG	Wed Jun  2 16:27:51 2010
--- ./libssh/misc.c	Wed Jun  2 16:28:58 2010
***************
*** 161,166 ****
--- 161,167 ----
  	return dest;
  }
  
+ #ifndef _AIX
  uint64_t ntohll(uint64_t a) {
  #ifdef WORDS_BIGENDIAN
    return a;
***************
*** 173,178 ****
--- 174,180 ----
    return ((((uint64_t) low) << 32) | ( high));
  #endif
  }
+ #endif
  
  #ifdef _WIN32
  char *ssh_get_local_username(ssh_session session) {
*** ./libssh/socket.c.ORIG	Wed Jun  2 16:29:37 2010
--- ./libssh/socket.c	Wed Jun  2 16:30:09 2010
***************
*** 33,39 ****
--- 33,43 ----
  #include <sys/types.h>
  #include <sys/socket.h>
  #include <sys/un.h>
+ #ifdef _AIX
+ extern char **environ;
+ #else
  extern const char **environ;
+ #endif
  #endif
  #include "libssh/priv.h"
  #include "libssh/socket.h"
There are no differences between the files.
