Client was not declared in this scope

You can either include Client.h or Ethernet.h into your sketch. Depends weather you are using the Ethernet.

Ethernet.h includes Client.h