[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torsocks/master] Fix compatibility with s390 and s390x architectures
commit 90eafafc6148fc55e986a36ce3e26ed1e85e9140
Author: Jérémy Bobbio <lunar@xxxxxxxxxxxxxxxxxx>
Date: Fri Oct 25 09:14:07 2013 -0400
Fix compatibility with s390 and s390x architectures
Signed-off-by: Jérémy Bobbio <lunar@xxxxxxxxxxxxxxxxxx>
Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits