aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/image.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index eb0d744f50f..36673a3d079 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-06-10 Paul Eggert <eggert@cs.ucla.edu> 12011-06-10 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * image.c (PixelGetMagickColor): Declare if ImageMagick headers don't.
4
3 Make identifiers static if they are not used in other modules. 5 Make identifiers static if they are not used in other modules.
4 * data.c (Qcompiled_function, Qframe, Qvector): 6 * data.c (Qcompiled_function, Qframe, Qvector):
5 * image.c (QimageMagick, Qsvg): 7 * image.c (QimageMagick, Qsvg):
diff --git a/src/image.c b/src/image.c
index 8169a9098d8..f36e097b58c 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7456,6 +7456,14 @@ imagemagick_image_p (Lisp_Object object)
7456#define DrawRectangle DrawRectangleGif 7456#define DrawRectangle DrawRectangleGif
7457#include <wand/MagickWand.h> 7457#include <wand/MagickWand.h>
7458 7458
7459/* ImageMagick 6.5.3 through 6.6.5 hid PixelGetMagickColor for some reason.
7460 Emacs seems to work fine with the hidden version, so unhide it. */
7461#include <magick/version.h>
7462#if 0x653 <= MagickLibVersion && MagickLibVersion <= 0x665
7463extern WandExport void PixelGetMagickColor (const PixelWand *,
7464 MagickPixelPacket *);
7465#endif
7466
7459/* Helper function for imagemagick_load, which does the actual loading 7467/* Helper function for imagemagick_load, which does the actual loading
7460 given contents and size, apart from frame and image structures, 7468 given contents and size, apart from frame and image structures,
7461 passed from imagemagick_load. Uses librimagemagick to do most of 7469 passed from imagemagick_load. Uses librimagemagick to do most of