Krolyxon
Commit eea8b7a

Branches

Refs →

nsxiveea8b7a

Fixed compilation with giflib version 4.2.1

Author
Bert Münnich
Date
2013-01-04 20:55 +0100
Parent
97a2c05
Commit
eea8b7a98db3e8f84833a0f92946ffa137bea472

+6 −6

2 files changed

  1. M Makefile +1 −1
  2. M image.c +5 −5
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION = git-20121227
1+VERSION = git-20130104
22
33 PREFIX = /usr/local
44 MANPREFIX = $(PREFIX)/share/man
M image.c View
@@ -24,17 +24,17 @@
2424 #include <sys/types.h>
2525 #include <unistd.h>
2626
27+#if HAVE_GIFLIB
28+#include <gif_lib.h>
29+enum { MIN_GIF_DELAY = 25 };
30+#endif
31+
2732 #include "exif.h"
2833 #include "image.h"
2934 #include "options.h"
3035 #include "util.h"
3136 #include "config.h"
3237
33−#if HAVE_GIFLIB
34−#include <gif_lib.h>
35−enum { MIN_GIF_DELAY = 25 };
36−#endif
37−
3838 float zoom_min;
3939 float zoom_max;
4040