--- src/ipa/ipa.c~ 2006-06-10 16:54:43.000000000 +0200 +++ src/ipa/ipa.c 2006-06-10 16:54:46.000000000 +0200 @@ -31,6 +31,12 @@ #include #endif +#ifndef HAVE_GD +#ifdef HAVE_LIBPNG +#include +#endif +#endif + /* Define WMF_API if this is module so that ipa headers are included via "wmfdefs.h" first */ #define WMF_IPA 1