代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/dhcp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 2d9a110b66422fd9185a1e3ea7376c23236633a2 Mon Sep 17 00:00:00 2001
From: y00428059 <yuzengqi@huawei.com>
Date: Wed, 15 Nov 2023 13:16:31 +0800
Subject: [PATCH] support for building with clang
---
client/dhclient.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/client/dhclient.c b/client/dhclient.c
index a3fe1ae..517b9cf 100644
--- a/client/dhclient.c
+++ b/client/dhclient.c
@@ -49,7 +49,9 @@
* Defined in stdio.h when _GNU_SOURCE is set, but we don't want to define
* that when building ISC code.
*/
+#ifndef asprintf
extern int asprintf(char **strp, const char *fmt, ...);
+#endif
TIME default_lease_time = 43200; /* 12 hours... */
TIME max_lease_time = 86400; /* 24 hours... */
--
2.19.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。