Add some header declarations to avoid -Wall warnings.