add missing includes
fix c_vasprintf()