--- psiconv/trunk/program/psiconv/magick-aux.h 2004/04/29 22:05:23 252 +++ psiconv/trunk/program/psiconv/magick-aux.h 2005/11/15 15:52:34 270 @@ -1,6 +1,6 @@ /* magick-aux.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 2000-2004 Frodo Looijaard + Copyright (c) 2000-2004 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,18 +21,19 @@ #if IMAGEMAGICK -#if IMAGEMAGICK_OLD +#if IMAGEMAGICK_API == 1 #include -extern const MagickInfo * GetMagickFileList(void); - #else #include +#include #include #include #endif /* IMAGEMAGICK_OLD */ +extern const MagickInfo * GetMagickFileList(void); + #endif /* IMAGEMAGICK */