]> git.imager.perl.org - imager.git/blobdiff - map.c
work around compilation problem reported in
[imager.git] / map.c
diff --git a/map.c b/map.c
index 7acd64af6ae2c394e617fa4bbaffde1d96cb340f..e88dfcc4937f1b81ff9eb004ce49da30f4594df7 100644 (file)
--- a/map.c
+++ b/map.c
@@ -17,7 +17,7 @@ converting from RGBA to greyscale and back.
 =cut
 */
 
-#include "image.h"
+#include "imager.h"
 
 
 /*
@@ -38,7 +38,7 @@ void
 i_map(i_img *im, unsigned char (*maps)[256], unsigned int mask) {
   i_color *vals;
   int x, y;
-  int mapno, i, ch;
+  int i, ch;
   int minset = -1, maxset;
 
   mm_log((1,"i_map(im %p, maps %p, chmask %u)\n", im, maps, mask));