changeset 213:28f2274c9bd0

Fix two minor compilation warnings.
author zas_
date Sun, 30 Mar 2008 14:18:04 +0000
parents c7021159079d
children c0e9aac4c7bf
files src/gqview.h src/thumb.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gqview.h	Sun Mar 30 11:47:14 2008 +0000
+++ b/src/gqview.h	Sun Mar 30 14:18:04 2008 +0000
@@ -18,7 +18,9 @@
 #endif
 
 #ifdef HAVE_STRVERSCMP
-#  define _GNU_SOURCE
+#  ifndef _GNU_SOURCE
+#    define _GNU_SOURCE
+#  endif
 #endif
 
 #include "intl.h"
--- a/src/thumb.c	Sun Mar 30 11:47:14 2008 +0000
+++ b/src/thumb.c	Sun Mar 30 14:18:04 2008 +0000
@@ -15,6 +15,7 @@
 
 #include "cache.h"
 #include "image-load.h"
+#include "filelist.h"
 #include "pixbuf_util.h"
 #include "thumb_standard.h"
 #include "ui_fileops.h"