*** ./lib/stdbool.h.ORIG Wed Jun 20 10:25:10 2012 --- ./lib/stdbool.h Wed Jun 20 10:23:34 2012 *************** *** 0 **** --- 1,7 ---- + #ifndef stdbool_h_wrapper + #define stdbool_h_wrapper + + typedef enum {false = 0, true = 1} bool; + + #endif + *** ./lib/stdint.h.ORIG Wed Jun 20 10:25:19 2012 --- ./lib/stdint.h Wed Jun 20 10:23:55 2012 *************** *** 0 **** --- 1 ---- + #include *** ./lib/dgif_lib.c.ORIG Wed Jun 20 10:25:28 2012 --- ./lib/dgif_lib.c Wed Jun 20 10:25:51 2012 *************** *** 45,50 **** --- 45,58 ---- 0x0fff }; + #if defined(_AIX51) && !defined(_AIX52) + #if (__64BIT__) + #define SIZE_MAX UINT64_MAX + #else + #define SIZE_MAX UINT32_MAX + #endif + #endif + static int DGifGetWord(GifFileType *GifFile, GifWord *Word); static int DGifSetupDecompress(GifFileType *GifFile); static int DGifDecompressLine(GifFileType *GifFile, GifPixelType *Line, *** ./configure.ac.ORIG Wed Jun 20 09:55:51 2012 --- ./configure.ac Wed Jun 20 10:21:57 2012 *************** *** 53,60 **** AC_MSG_ERROR([giflib needs limits.h to compile])) AC_CHECK_HEADERS(fcntl.h, , AC_MSG_ERROR([giflib needs fcntl.h to compile])) - AC_CHECK_HEADERS(stdint.h, , - AC_MSG_ERROR([giflib needs stdint.h to compile])) AC_CHECK_HEADERS(stdarg.h, , AC_MSG_ERROR([giflib needs stdarg.h to compile])) --- 53,58 ---- *** ./util/giftool.c.ORIG Wed Jun 20 10:38:20 2012 --- ./util/giftool.c Wed Jun 20 10:38:42 2012 *************** *** 10,16 **** --- 10,18 ---- #include #include + #ifndef _AIX #include "getopt.h" + #endif #include "getarg.h" #include "gif_lib.h"