diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-01 20:18:52 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-01 20:18:52 +0300 |
commit | 05b4e2997f01debfa3e8fb8a8313cc455422da5f (patch) | |
tree | dc69249c9fffd90ddede5bfe27490da752cb80f2 /src/Networking/LwipEthernet/LwipEthernetInterface.cpp | |
parent | 4c448675a32ad48d707342a63169da0808b516dc (diff) |
Fix or Duet 3 Mini build with Ethernet disabled
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.cpp')
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp index 679212cb..9f35a201 100644 --- a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp +++ b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp @@ -9,6 +9,9 @@ #define NO_STATUS_CODES #include "LwipEthernetInterface.h" + +#if HAS_LWIP_NETWORKING + #include <Networking/NetworkBuffer.h> #include "LwipSocket.h" @@ -698,4 +701,6 @@ void LwipEthernetInterface::RebuildMdnsServices() noexcept mdns_resp_netif_settings_changed(&gs_net_if); } +#endif // HAS_LWIP_NETWORKING + // End |