Fix possible pointer variable declaration to undeclared type.