From df8ef06ef02bf304b1bdea8ee3e62d433a25b214 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 28 Jun 2008 09:43:09 +0000 Subject: patch by: Mike Heffner * src/Makefile.am: * src/db-artwork-writer.c: fix compilation with older glib (without GChecksum) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2021 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 8 ++++++++ src/Makefile.am | 1 + src/db-artwork-writer.c | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30eb43e..960fcd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-06-28 Christophe Fergeau + + patch by: Mike Heffner + + * src/Makefile.am: + * src/db-artwork-writer.c: fix compilation with older glib (without + GChecksum) + 2008-06-24 Christophe Fergeau * src/itdb_device.c: rework timezone handling: handle timezones as diff --git a/src/Makefile.am b/src/Makefile.am index d840480..322d817 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,6 +23,7 @@ libgpod_la_SOURCES = \ if WITH_INTERNAL_GCHECKSUM libgpod_la_SOURCES += gchecksum.c gchecksum.h +libgpod_la_CFLAGS = -DWITH_INTERNAL_GCHECKSUM endif libgpod_la_LDFLAGS = -version-info $(LIBGPOD_SO_VERSION) -no-undefined diff --git a/src/db-artwork-writer.c b/src/db-artwork-writer.c index 06252b9..e5ca65a 100644 --- a/src/db-artwork-writer.c +++ b/src/db-artwork-writer.c @@ -49,6 +49,10 @@ #include #include +#ifdef WITH_INTERNAL_GCHECKSUM +#include "gchecksum.h" +#endif + #define DEFAULT_GSTRING_SIZE 128*1024 struct iPodSharedDataBuffer { -- cgit