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

dgoulet at torproject.org dgoulet at torproject.org
Mon Aug 11 16:33:34 UTC 2014


commit 17ec92ff5b1ede59b9a8a285e3a827bfcf0dff4b
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Mon Aug 11 12:30:43 2014 -0400

    Fix: compilation issue on Debian kfreebsd-i386
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 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.
  */



More information about the tor-commits mailing list