add missing defines