summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-01-04 20:55:30 +0100
committerBert Münnich <be.muennich@gmail.com>2013-01-04 20:55:30 +0100
commiteea8b7a98db3e8f84833a0f92946ffa137bea472 (patch)
treef2b25601599ac083848011e2183a9a88761b8018
parent97a2c05cc30adb3b90842b671607a05857db63a0 (diff)
downloadnsxiv-eea8b7a98db3e8f84833a0f92946ffa137bea472.tar.zst
Fixed compilation with giflib version 4.2.1
-rw-r--r--Makefile2
-rw-r--r--image.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a157421..17acfb8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = git-20121227
+VERSION = git-20130104
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
diff --git a/image.c b/image.c
index 6ca2cd3..fa74eda 100644
--- a/image.c
+++ b/image.c
@@ -24,17 +24,17 @@
#include <sys/types.h>
#include <unistd.h>
+#if HAVE_GIFLIB
+#include <gif_lib.h>
+enum { MIN_GIF_DELAY = 25 };
+#endif
+
#include "exif.h"
#include "image.h"
#include "options.h"
#include "util.h"
#include "config.h"
-#if HAVE_GIFLIB
-#include <gif_lib.h>
-enum { MIN_GIF_DELAY = 25 };
-#endif
-
float zoom_min;
float zoom_max;