Fixed implicit declaration of function due to missing header.