commit 17ec92ff5b1ede59b9a8a285e3a827bfcf0dff4b Author: David Goulet dgoulet@ev0ke.net Date: Mon Aug 11 12:30:43 2014 -0400
Fix: compilation issue on Debian kfreebsd-i386
Signed-off-by: David Goulet dgoulet@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. */
tor-commits@lists.torproject.org