*** auth.h.ORIG Fri Oct 10 10:47:20 2008 --- auth.h Fri Oct 10 10:47:32 2008 *************** *** 22,28 **** --- 22,30 ---- #ifndef _AUTH_H #define _AUTH_H + #ifndef _AIX #include + #endif struct auth_s { char *user; *** ntlm.c.ORIG Fri Oct 10 10:46:26 2008 --- ntlm.c Fri Oct 10 10:46:39 2008 *************** *** 21,27 **** --- 21,29 ---- #include #include + #ifndef _AIX #include + #endif #include "ntlm.h" #include "swap.h" *** socket.h.ORIG Fri Oct 10 10:45:45 2008 --- socket.h Fri Oct 10 10:46:09 2008 *************** *** 23,29 **** --- 23,31 ---- #define _SOCKET_H #include + #ifndef _AIX #include + #endif #if config_socklen_t != 1 #define socklen_t uint32_t *** xcrypt.c.ORIG Fri Oct 10 10:59:39 2008 --- xcrypt.c Fri Oct 10 11:00:22 2008 *************** *** 42,49 **** --- 42,51 ---- #include #include #include + #ifndef _AIX #include #include + #endif #include "xcrypt.h" #include "swap.h" *** xcrypt.h.ORIG Fri Oct 10 10:46:50 2008 --- xcrypt.h Fri Oct 10 11:01:05 2008 *************** *** 41,48 **** --- 41,54 ---- #ifndef _XCRYPT_H #define _XCRYPT_H + #ifndef _AIX #include #include + #else + #define bool int + #define false (0) + #define true (1) + #endif #include #include *** ./swap.h.ORIG Thu Feb 23 14:38:03 2012 --- ./swap.h Thu Feb 23 14:38:22 2012 *************** *** 22,28 **** --- 22,30 ---- #ifndef _SWAP_H #define _SWAP_H + #ifndef _AIX51 #include + #endif #include "config/config.h" *** ./http.h.ORIG Thu Feb 23 14:41:02 2012 --- ./http.h Thu Feb 23 14:41:14 2012 *************** *** 22,28 **** --- 22,30 ---- #ifndef _HTTP_H #define _HTTP_H + #ifndef _AIX51 #include + #endif #include "utils.h" #include "auth.h" *** ./direct.c.ORIG Thu Feb 23 14:46:25 2012 --- ./direct.c Thu Feb 23 14:48:22 2012 *************** *** 31,37 **** #include #include ! extern int h_errno; #include "utils.h" #include "globals.h" --- 31,38 ---- #include #include ! // this is defined in !! ! //extern int h_errno; #include "utils.h" #include "globals.h" *** ./http.c.ORIG Thu Feb 23 14:47:03 2012 --- ./http.c Thu Feb 23 14:47:56 2012 *************** *** 39,44 **** --- 39,48 ---- extern int debug; + #ifdef _AIX51 + #define atoll(X) strtoll(X, (char **)NULL, 10) + #endif + /* * Ture if src is a header. This is just a basic check * for the colon delimiter. Might eventually become more