summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-06-28 09:43:09 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-06-28 09:43:09 +0000
commit21bd7105e7d57f51bf68b3e8a5d065a3fc2a8532 (patch)
tree3a7334599a426c393fdde8a7e3f2809f0c6d6527 /src
parent58d08a77ea60ac3d98d9217061cc8123c71842bb (diff)
downloadlibgpod-tmz-21bd7105e7d57f51bf68b3e8a5d065a3fc2a8532.tar.gz
libgpod-tmz-21bd7105e7d57f51bf68b3e8a5d065a3fc2a8532.tar.xz
libgpod-tmz-21bd7105e7d57f51bf68b3e8a5d065a3fc2a8532.zip
patch by: Mike Heffner <mikeh@fesnel.com>
* 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
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/db-artwork-writer.c4
2 files changed, 5 insertions, 0 deletions
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 <stdio.h>
#include <sys/types.h>
+#ifdef WITH_INTERNAL_GCHECKSUM
+#include "gchecksum.h"
+#endif
+
#define DEFAULT_GSTRING_SIZE 128*1024
struct iPodSharedDataBuffer {