#ifndef _MAGICKCORE_DISPLAY_PRIVATE_H
#define _MAGICKCORE_DISPLAY_PRIVATE_H
+#if defined(MAGICKCORE_X11_DELEGATE)
+#include "MagickCore/xwindow-private.h"
+#endif
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#if defined(MAGICKCORE_X11_DELEGATE)
-#include "MagickCore/xwindow-private.h"
-
extern MagickExport Image
*XDisplayImage(Display *,XResourceInfo *,char **,int,Image **,size_t *,
ExceptionInfo *);