aboutsummaryrefslogtreecommitdiffstats
path: root/src/sls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sls.h')
-rw-r--r--src/sls.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sls.h b/src/sls.h
index 6dc9d47..0b5fae2 100644
--- a/src/sls.h
+++ b/src/sls.h
@@ -34,7 +34,11 @@
#include "pad_common.h"
#if HAVE_MAGICKWAND
-# include <wand/magick_wand.h>
+# if HAVE_MAGICKWAND_LEGACY
+# include <wand/magick_wand.h>
+# else
+# include <MagickWand/MagickWand.h>
+# endif
#endif
#include <sys/stat.h>