#include <sstream> for solaris studio