加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
calls-c99.patch 1019 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangxianting 提交于 2023-11-23 18:03 . update to version 44~alpha.1
Add a local declaration of the internal su_random64 function from
sofia-sip, so that it can be called with compilers which do not
support implicit function declarations.
Submitted upstream: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/658>
diff --git a/calls-v44_alpha.1/plugins/provider/tests/test-sip.c b/calls-v44_alpha.1/plugins/provider/tests/test-sip.c
index d9c013fac30854c0..00fba3106aeec194 100644
--- a/calls-v44_alpha.1/plugins/provider/tests/test-sip.c
+++ b/calls-v44_alpha.1/plugins/provider/tests/test-sip.c
@@ -21,6 +21,8 @@
#include <sofia-sip/su_uniqueid.h>
#include <libpeas/peas.h>
+#include <stdint.h>
+
typedef struct {
CallsSipProvider *provider;
CallsSipOrigin *origin_alice;
@@ -430,6 +432,7 @@ main (int argc,
gst_init (NULL, NULL);
/* this is a workaround for an issue with sofia: https://github.com/freeswitch/sofia-sip/issues/58 */
+ extern uint64_t su_random64 (void);
su_random64 ();
g_test_add ("/Calls/SIP/provider_object", SipFixture, NULL,
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化