Add missing cast.
Add missing #include.