summaryrefslogtreecommitdiff
path: root/src/Sockets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Sockets.cpp')
-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 {