https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6012
diff --git a/MagickCore/coder.c b/MagickCore/coder.c
index 8d98cd9..4836fc8 100644
--- a/MagickCore/coder.c
+++ b/MagickCore/coder.c
@@ -862,7 +862,7 @@
           GetNextToken(q,&q,extent,token);
           if (LocaleCompare(keyword,"file") == 0)
             {
-              if (depth > 200)
+              if (depth > MagickMaxRecursionDepth)
                 (void) ThrowMagickException(exception,GetMagickModule(),
                   ConfigureError,"IncludeNodeNestedTooDeeply","`%s'",token);
               else