@ -19,6 +19,12 @@
#include <gif_lib.h>
#endif
#if GIFLIB_MAJOR > 5 || GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
#define GIF_CLOSE_FILE(gif) DGifCloseFile(gif, NULL)
#else
#define GIF_CLOSE_FILE(gif) DGifCloseFile(gif)
class Image: public node::ObjectWrap {
public:
char *filename;