diff --git a/src/protocols/HTTP/HTTP.h b/src/protocols/HTTP/HTTP.h index ae9a3888..0f30a43e 100644 --- a/src/protocols/HTTP/HTTP.h +++ b/src/protocols/HTTP/HTTP.h @@ -1,9 +1,11 @@ -#if !defined(_RADIOLIB_HTTP_H) && !defined(RADIOLIB_EXCLUDE_HTTP) +#if !defined(_RADIOLIB_HTTP_H) #define _RADIOLIB_HTTP_H #include "../../TypeDef.h" -#include "../TransportLayer/TransportLayer.h" +#if !defined(RADIOLIB_EXCLUDE_HTTP) + +#include "../TransportLayer/TransportLayer.h" /*! \class HTTPClient @@ -67,3 +69,5 @@ class HTTPClient { }; #endif + +#endif