From 50c74dc0514c0135195de6cd52d2ae33325c2385 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 1 Aug 2020 22:26:05 +0200 Subject: sshnc: Compile on android --- ssh/sshnc.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ssh/sshnc.c b/ssh/sshnc.c index 7d42de8..0c912dd 100644 --- a/ssh/sshnc.c +++ b/ssh/sshnc.c @@ -1,11 +1,16 @@ #include #include #include -#include #include #include #include "sshnc.h" +#ifdef __ANDROID__ +#define thread_local _Thread_local +#else +#include +#endif + // - We never use ssh_disconnect, just ssh_free. I believe the only added value // of ssh_disconnect is that it sends a polite quit message to the server, -- cgit v1.2.3-70-g09d2