declarations in libraries

What is mentioned above makes sense here is what I attempted:

#ifndef Eth_h
#define Eth_h

#include <SPI.h>
#include <Ethernet.h>

byte mac [5];
IPAddress ip;


class Eth{
   
 public:
void init();

};
#endif

Which returns the error:

error: 'IPAddress' does not name a type

I thought that IPAddress was a member of the Ethernet source.

What am I not doing or missing?