SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
telephony/asterisk/16/patches/patch-main_utils_c
Normal file
12
telephony/asterisk/16/patches/patch-main_utils_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: main/utils.c
|
||||
--- main/utils.c.orig
|
||||
+++ main/utils.c
|
||||
@@ -2728,6 +2728,8 @@ int ast_get_tid(void)
|
||||
long lwpid;
|
||||
thr_self(&lwpid); /* available since sys/thr.h creation 2003 */
|
||||
ret = lwpid;
|
||||
+#elif defined(__OpenBSD__)
|
||||
+ ret = getthrid();
|
||||
#elif defined(__NetBSD__)
|
||||
ret = _lwp_self();
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue