diff --git a/MagickCore/image.h b/MagickCore/image.h
index 5447351..18f938c 100644
--- a/MagickCore/image.h
+++ b/MagickCore/image.h
@@ -18,13 +18,13 @@
 #ifndef _MAGICKCORE_IMAGE_H
 #define _MAGICKCORE_IMAGE_H
 
+#include "MagickCore/color.h"
+#include "MagickCore/pixel.h"
+
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {
 #endif
 
-#include "MagickCore/color.h"
-#include "MagickCore/pixel.h"
-
 #define OpaqueAlpha  ((Quantum) QuantumRange)
 #define TransparentAlpha  ((Quantum) 0)