Add stdio include in process_callback_sync