Commit 1cea1644b for imagemagick.org
commit 1cea1644b52e931af7e8ef0eb668adba5174f4d7
Author: Cristy <urban-warrior@imagemagick.org>
Date: Fri Sep 4 20:52:50 2026 -0400
eliminate compiler warnings
diff --git a/MagickCore/image-private.h b/MagickCore/image-private.h
index 2a7325a7a..ae125f213 100644
--- a/MagickCore/image-private.h
+++ b/MagickCore/image-private.h
@@ -18,6 +18,13 @@
#ifndef MAGICKCORE_IMAGE_PRIVATE_H
#define MAGICKCORE_IMAGE_PRIVATE_H
+#include <limits.h>
+#include <sys/types.h>
+#include "MagickCore/nt-base.h"
+#include "MagickCore/nt-base-private.h"
+#include "MagickCore/pixel-accessor.h"
+#include "MagickCore/quantum-private.h"
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
@@ -25,12 +32,6 @@ extern "C" {
#define MagickMax(x,y) (((x) > (y)) ? (x) : (y))
#define MagickMin(x,y) (((x) < (y)) ? (x) : (y))
-#include <limits.h>
-#include <sys/types.h>
-#include "MagickCore/nt-base.h"
-#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/quantum-private.h"
-
#define BackgroundColor "#ffffff" /* white */
#define BackgroundColorRGBA QuantumRange,QuantumRange,QuantumRange,OpaqueAlpha
#define BorderColor "#dfdfdf" /* gray */