Added missing C headers, causing compile errors.