diff --git a/MagickCore/string_.h b/MagickCore/string_.h
index 589c3be..cf734cc 100644
--- a/MagickCore/string_.h
+++ b/MagickCore/string_.h
@@ -18,12 +18,12 @@
 #ifndef _MAGICKCORE_STRING_H_
 #define _MAGICKCORE_STRING_H_
 
+#include "MagickCore/exception.h"
+
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {
 #endif
 
-#include "MagickCore/exception.h"
-
 typedef struct _StringInfo
 {
   char