Add includes to avoid missing prototype warning.