From eea8b7a98db3e8f84833a0f92946ffa137bea472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bert=20M=C3=BCnnich?= <be.muennich@gmail.com>
Date: Fri, 4 Jan 2013 20:55:30 +0100
Subject: [PATCH] Fixed compilation with giflib version 4.2.1

---
 Makefile |  2 +-
 image.c  | 10 +++++-----
 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;