Commit 3d342671f for imagemagick.org
commit 3d342671f0f1ff345ad9defa7070b31b322262ad
Author: Cristy <urban-warrior@imagemagick.org>
Date: Wed Dec 2 18:51:31 2026 -0500
eliminate compiler expception
diff --git a/coders/histogram.c b/coders/histogram.c
index 982be2d39..27e5c4f36 100644
--- a/coders/histogram.c
+++ b/coders/histogram.c
@@ -68,6 +68,7 @@
#include "MagickCore/module.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
+#include "MagickCore/utility-private.h"
/*
Forward declarations.
@@ -405,7 +406,7 @@ static MagickBooleanType WriteHISTOGRAMImage(const ImageInfo *image_info,
}
else if (unique_file != -1)
{
- (void) close(unique_file);
+ (void) close_utf8(unique_file);
(void) RelinquishUniqueFileResource(filename);
}
}