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;