*** ./include/cdio/types.h.ORIG Sat Jan 4 23:30:43 2014 --- ./include/cdio/types.h Sat Jan 4 23:31:17 2014 *************** *** 45,51 **** --- 45,55 ---- contact the libcdio mailing list so that we can fix it! For MSVC, you can find both a public domain stdint.h and inttypes.h in the MSVC/missing directory of libcdio. */ + #if defined(_AIX) && !defined(_AIX52) + #include + #else #include + #endif #endif typedef uint8_t ubyte; *** ./include/cdio/types.h.ORIG Sat Jan 4 23:44:57 2014 --- ./include/cdio/types.h Sat Jan 4 23:48:09 2014 *************** *** 189,195 **** /** Provide a notice for deprecated elements. Before gcc 4.5 'deprecated' takes no arguments. */ ! #if defined(__GNUC__) # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5) # define LIBCDIO_DEPRECATED(object, notice) object __attribute__ ((deprecated(notice))) # else --- 189,195 ---- /** Provide a notice for deprecated elements. Before gcc 4.5 'deprecated' takes no arguments. */ ! #if defined(__GNUC__) && !defined(_AIX) # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5) # define LIBCDIO_DEPRECATED(object, notice) object __attribute__ ((deprecated(notice))) # else *************** *** 198,204 **** #elif defined(_MSC_VER) #define LIBCDIO_DEPRECATED(object, notice) __declspec(deprecated(notice)) object #else ! #define LIBCDIO_DEPRECATED(object, notice) #endif /** our own offsetof()-like macro */ --- 198,204 ---- #elif defined(_MSC_VER) #define LIBCDIO_DEPRECATED(object, notice) __declspec(deprecated(notice)) object #else ! #define LIBCDIO_DEPRECATED(object, notice) object #endif /** our own offsetof()-like macro */ *** ./src/iso-info.c.ORIG Tue Sep 30 15:14:21 2014 --- ./src/iso-info.c Tue Sep 30 15:14:56 2014 *************** *** 89,94 **** --- 89,98 ---- }; + #if defined(_AIX) && !defined(_AIX52) + #define atoll(X) strtoll(X, (char **)NULL, 10) + #endif + /* Parse a all options. */ static bool parse_options (int argc, char *argv[])