diff --git a/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp b/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp index b7d0c636a..620653ae7 100644 --- a/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp +++ b/lib/espMqttClient/src/Transport/ClientPosixIPAddress.cpp @@ -6,6 +6,8 @@ For a copy, see or the LICENSE file. */ +#if defined(__linux__) || defined(_WIN32) || defined(__APPLE__) + #include "ClientPosixIPAddress.h" IPAddress::IPAddress() @@ -26,3 +28,5 @@ IPAddress::IPAddress(uint32_t address) IPAddress::operator uint32_t() { return _address; } + +#endif