Adding #include for <stdio> to removing warnings.