diff --git a/sequences.lisp b/sequences.lisp
index 6ce2571ab361018ff467d6722f358336a27710a3..65445db8d4f51aa3c0dec8830789aed3d256fd7f 100644
--- a/sequences.lisp
+++ b/sequences.lisp
@@ -9,7 +9,7 @@
   "Return true if SEQUENCE is a sequence of length LENGTH. Signals an error if
 SEQUENCE is not a sequence. Returns FALSE for circular lists."
   (declare (type array-index length)
-           (inline length)
+           #-lispworks (inline length)
            (optimize speed))
   (etypecase sequence
     (null