net/torsocks: Fix build on 15

One more function had to be fixed

PR:		280467
This commit is contained in:
Yuri Victorovich 2024-08-23 20:10:09 -07:00
parent f6b56c7afc
commit bf74bdd7fd

View file

@ -0,0 +1,17 @@
--- src/lib/recv.c.orig 2024-08-24 03:06:10 UTC
+++ src/lib/recv.c
@@ -173,6 +173,8 @@ error:
return ret;
}
+#if __FreeBSD_cc_version < 1500000
+
/*
* Libc hijacked symbol recvmsg(2).
*/
@@ -186,3 +188,5 @@ LIBC_RECVMSG_DECL
return tsocks_recvmsg(LIBC_RECVMSG_ARGS);
}
+
+#endif