summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2022-01-11 17:03:10 -0800
committerJoseph Henry <[email protected]>2022-01-11 17:03:10 -0800
commit0d511f9dbe6ae3edbe1cfd6ba6a39e1a8ef4b3fc (patch)
treebe3a9255a1e0437ce12d3c0a9a4cd70e0f151428 /src
parent0c63732285520c578fa74cd5270fb7a849dd0db0 (diff)
parent6e9764b4b5678d732036a88c39192ad4da08a019 (diff)
Merge branch 'android-endian' of https://github.com/StephenCWills/libzt into StephenCWills-android-endian
Diffstat (limited to 'src')
-rw-r--r--src/Sockets.cpp4
1 files changed, 4 insertions, 0 deletions
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 <sys/endian.h>
+#endif
+
int zts_errno;
namespace ZeroTier {