nsxiveea8b7a
Fixed compilation with giflib version 4.2.1
+6 −6
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION = git-20121227 | |
| 1 | + | VERSION = git-20130104 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX = /usr/local | |
| 4 | 4 | MANPREFIX = $(PREFIX)/share/man | |
| @@ -24,17 +24,17 @@ | |||
| 24 | 24 | #include <sys/types.h> | |
| 25 | 25 | #include <unistd.h> | |
| 26 | 26 | ||
| 27 | + | #if HAVE_GIFLIB | |
| 28 | + | #include <gif_lib.h> | |
| 29 | + | enum { MIN_GIF_DELAY = 25 }; | |
| 30 | + | #endif | |
| 31 | + | ||
| 27 | 32 | #include "exif.h" | |
| 28 | 33 | #include "image.h" | |
| 29 | 34 | #include "options.h" | |
| 30 | 35 | #include "util.h" | |
| 31 | 36 | #include "config.h" | |
| 32 | 37 | ||
| 33 | − | #if HAVE_GIFLIB | |
| 34 | − | #include <gif_lib.h> | |
| 35 | − | enum { MIN_GIF_DELAY = 25 }; | |
| 36 | − | #endif | |
| 37 | − | ||
| 38 | 38 | float zoom_min; | |
| 39 | 39 | float zoom_max; | |
| 40 | 40 | ||