]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/animate-private.h
Added checks for exceptions.
[imagemagick] / MagickCore / animate-private.h
index 7ca17ac3abf1e22b221ac8843f2fd89b1a7554c6..01e5357780e4bdc4f8cd2137745919e875c883b7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
 
   You may not use this file except in compliance with the License.
 #ifndef _MAGICKCORE_ANIMATE_PRIVATE_H
 #define _MAGICKCORE_ANIMATE_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
   *XAnimateImages(Display *,XResourceInfo *,char **,const int,Image *,
     ExceptionInfo *);