$NetBSD: patch-av,v 1.4 2006/10/03 23:01:25 schwarz Exp $

--- other/pnmcolormap.c.orig	2006-10-03 17:57:34.000000000 +0200
+++ other/pnmcolormap.c	2006-10-03 17:58:12.000000000 +0200
@@ -169,7 +169,9 @@
 typedef int qsort_comparison_fn(const void *, const void *);
     /* A collation function to be used as argument to qsort() */
 
+#ifndef SGI_IDO_CC
 static qsort_comparison_fn compareplane;
+#endif
 
 static unsigned int compareplanePlane;
     /* This is a parameter to compareplane().  We use this global variable
@@ -189,7 +191,9 @@
 
 
 
+#ifndef SGI_IDO_CC
 static qsort_comparison_fn sumcompare;
+#endif
 
 static int
 sumcompare(const void * const b1, const void * const b2) {
