diff --git a/hardware/arduino/avr/cores/arduino/Server.h b/hardware/arduino/avr/cores/arduino/Server.h index 77c415cce..69e3e39fe 100644 --- a/hardware/arduino/avr/cores/arduino/Server.h +++ b/hardware/arduino/avr/cores/arduino/Server.h @@ -20,6 +20,8 @@ #ifndef server_h #define server_h +#include "Print.h" + class Server : public Print { public: virtual void begin() =0; diff --git a/hardware/arduino/sam/cores/arduino/Server.h b/hardware/arduino/sam/cores/arduino/Server.h index 77c415cce..69e3e39fe 100644 --- a/hardware/arduino/sam/cores/arduino/Server.h +++ b/hardware/arduino/sam/cores/arduino/Server.h @@ -20,6 +20,8 @@ #ifndef server_h #define server_h +#include "Print.h" + class Server : public Print { public: virtual void begin() =0;