Fixed compilation with giflib version 4.2.1

This commit is contained in:
Bert Münnich 2013-01-04 20:55:30 +01:00
parent 97a2c05cc3
commit eea8b7a98d
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
VERSION = git-20121227 VERSION = git-20130104
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man

10
image.c
View file

@ -24,17 +24,17 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#if HAVE_GIFLIB
#include <gif_lib.h>
enum { MIN_GIF_DELAY = 25 };
#endif
#include "exif.h" #include "exif.h"
#include "image.h" #include "image.h"
#include "options.h" #include "options.h"
#include "util.h" #include "util.h"
#include "config.h" #include "config.h"
#if HAVE_GIFLIB
#include <gif_lib.h>
enum { MIN_GIF_DELAY = 25 };
#endif
float zoom_min; float zoom_min;
float zoom_max; float zoom_max;