0.8.18.13:
[sbcl.git] / src / runtime / gc-internal.h
index 0b4bd4d..114f514 100644 (file)
@@ -80,6 +80,8 @@ lispobj *search_read_only_space(void *pointer);
 lispobj *search_static_space(void *pointer);
 lispobj *search_dynamic_space(void *pointer);
 
+#include "fixnump.h"
+
 /* Scan an area looking for an object which encloses the given pointer.
  * Return the object start on success or NULL on failure. */
 static lispobj *
@@ -92,7 +94,7 @@ search_space(lispobj *start, size_t words, lispobj *pointer)
        /* If thing is an immediate then this is a cons. */
        if (is_lisp_pointer(thing)
            || (fixnump(thing))
-           || (widetag_of(thing) == BASE_CHAR_WIDETAG)
+           || (widetag_of(thing) == CHARACTER_WIDETAG)
            || (widetag_of(thing) == UNBOUND_MARKER_WIDETAG))
            count = 2;
        else