add missing declare

There is a missing declare that causes a compile error.