Add missing typedefs.

Signed-off-by: Thiago Farina <tfarina@chromium.org>