For some reason iostream didn't get included in client.cpp even though it was at some point in the past because it didn't error until now...