*** ./icclib/icc.c.ORIG Tue Sep 15 16:35:11 2009 --- ./icclib/icc.c Tue Sep 15 16:36:18 2009 *************** *** 153,159 **** --- 153,161 ---- */ #include + #ifndef _AIX #include + #endif #include #include #include *************** *** 169,174 **** --- 171,184 ---- #include #endif #include "icc.h" + + #if !defined(SIZE_MAX) && defined(_AIX) + # if (__64BIT__) + # define SIZE_MAX UINT64_MAX + # else + # define SIZE_MAX UINT32_MAX + # endif + #endif /* ========================================================== */ /* Default system interface object implementations */