diff -Naur graphtft-0.1.18.alpha.orig/Makefile graphtft-0.1.18.alpha/Makefile
--- graphtft-0.1.18.alpha.orig/Makefile	2008-06-22 19:12:45.000000000 +0200
+++ graphtft-0.1.18.alpha/Makefile	2008-06-22 19:16:56.000000000 +0200
@@ -122,6 +122,10 @@
   HAVE_FFMPEG = 1
 endif
 
+ifdef HAVE_IMAGE_MAGICK
+  INCLUDES += -I/usr/include/ImageMagick
+endif
+
 ifdef HAVE_GTOP
   GTOP_INC = `pkg-config libgtop-2.0 --cflags`
   GTOP_LIB = `pkg-config libgtop-2.0 --libs`