*** ./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 <inttypes.h>
*** ./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 ----
*** ./lib/dgif_lib.c.ORIG	Wed Nov 13 00:56:01 2013
--- ./lib/dgif_lib.c	Wed Nov 13 00:56:08 2013
***************
*** 157,163 ****
          fclose(f);
          free((char *)Private);
          free((char *)GifFile);
! 	*Error = D_GIF_ERR_NO_SCRN_DSCR;
          return NULL;
      }
  
--- 157,163 ----
          fclose(f);
          free((char *)Private);
          free((char *)GifFile);
! 	_GifError = D_GIF_ERR_NO_SCRN_DSCR;
          return NULL;
      }
  
