Include <iosfwd> and <string> instead of <iostream>.