diff --git a/coders/x.c b/coders/x.c
index b5e0e08..7294f6a 100644
--- a/coders/x.c
+++ b/coders/x.c
@@ -56,6 +56,7 @@
 #include "MagickCore/static.h"
 #include "MagickCore/string_.h"
 #include "MagickCore/module.h"
+#include "MagickCore/token.h"
 #include "MagickCore/utility.h"
 #include "MagickCore/xwindow.h"
 #include "MagickCore/xwindow-private.h"