*** ./libcfnet/communication.c.ORIG Mon Apr 13 23:04:17 2015 --- ./libcfnet/communication.c Mon Apr 13 23:07:05 2015 *************** *** 254,259 **** --- 254,263 ---- /*****************************************************************************/ + #if (defined(_AIX51) || defined(_AIX52) || defined(_AIX53)) && !(defined(_AIX61) || defined(_AIX71)) + #define ss_family __ss_family + #endif + unsigned short SocketFamily(int sd) { struct sockaddr_storage ss = {0}; *** ./libcompat/getline.c.ORIG Mon Apr 13 23:00:15 2015 --- ./libcompat/getline.c Mon Apr 13 23:02:26 2015 *************** *** 51,56 **** --- 51,60 ---- #define _GETDELIM_GROWBY 4096 /* amount to grow line buffer by */ #define _GETDELIM_MINLEN 4 /* minimum line buffer size */ + #ifdef __VACPP_MULTI__ + #define restrict + #endif + static ssize_t getdelim(char **restrict lineptr, size_t *restrict n, int delimiter, FILE *restrict stream) { *** ./libenv/unix_iface.c.ORIG Sun Nov 27 21:45:49 2016 --- ./libenv/unix_iface.c Sun Nov 27 21:46:06 2016 *************** *** 21,26 **** --- 21,31 ---- (COSL) may apply to this file if you as a licensee so wish it. See included file COSL.txt. */ + #ifdef _AIX + # include + # include + #endif + #include #include