[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torsocks/master] Fix: compilation issue on Debian kfreebsd-i386



commit 17ec92ff5b1ede59b9a8a285e3a827bfcf0dff4b
Author: David Goulet <dgoulet@xxxxxxxxx>
Date:   Mon Aug 11 12:30:43 2014 -0400

    Fix: compilation issue on Debian kfreebsd-i386
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
 src/lib/syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/syscall.c b/src/lib/syscall.c
index 36d28ad..9226f86 100644
--- a/src/lib/syscall.c
+++ b/src/lib/syscall.c
@@ -68,7 +68,7 @@ static LIBC_CONNECT_RET_TYPE handle_connect(va_list args)
 	return tsocks_connect(sockfd, addr, addrlen);
 }
 
-#if (defined(__linux__) || defined(__darwin__))
+#if (defined(__linux__) || defined(__darwin__) || (defined(__FreeBSD_kernel__) && defined(__i386__)))
 /*
  * Handle mmap(2) syscall.
  */

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits