From dc4c588bae2bffddd4efeea171901a865f8009e8 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 4 Jul 2020 21:18:49 +0200 Subject: [PATCH] [HTTP] Fixed exclusion macros --- src/protocols/HTTP/HTTP.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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