commit 90eafafc6148fc55e986a36ce3e26ed1e85e9140 Author: Jérémy Bobbio lunar@zelenka.debian.org Date: Fri Oct 25 09:14:07 2013 -0400
Fix compatibility with s390 and s390x architectures
Signed-off-by: Jérémy Bobbio lunar@zelenka.debian.org Signed-off-by: David Goulet dgoulet@ev0ke.net --- src/common/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/compat.h b/src/common/compat.h index 07c856f..31de549 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -45,7 +45,7 @@ void tsocks_mutex_unlock(tsocks_mutex_t *m);
#if defined(__linux__)
-#if defined(__i386) +#if defined(__i386) || defined(__s390__) || defined(__s390x__) #include <asm-generic/unistd.h> #else #include <unistd.h>
tor-commits@lists.torproject.org