diff --git a/magick/cache-private.h b/magick/cache-private.h
index d5bd26b..bd75d7d 100644
--- a/magick/cache-private.h
+++ b/magick/cache-private.h
@@ -118,6 +118,9 @@
   ColorspaceType
     colorspace;
 
+  ssize_t
+    channels;
+
   CacheType
     type;
 
@@ -235,6 +238,9 @@
   *QueueAuthenticNexus(Image *,const ssize_t,const ssize_t,const size_t,
     const size_t,NexusInfo *,ExceptionInfo *);
 
+extern MagickExport size_t
+  GetPixelCacheChannels(const Cache);
+
 extern MagickExport void
   ClonePixelCacheMethods(Cache,const Cache),
   GetPixelCacheTileSize(const Image *,size_t *,size_t *),