From 6e9764b4b5678d732036a88c39192ad4da08a019 Mon Sep 17 00:00:00 2001 From: staphen Date: Sun, 2 Jan 2022 01:00:52 -0500 Subject: [PATCH] Include sys/endian.h in Sockets.cpp for Android --- src/Sockets.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Sockets.cpp b/src/Sockets.cpp index a173098..0da980e 100644 --- a/src/Sockets.cpp +++ b/src/Sockets.cpp @@ -24,6 +24,10 @@ #include "lwip/dns.h" #include "lwip/netdb.h" +#if defined(__ANDROID__) +#include +#endif + int zts_errno; namespace ZeroTier {