From fb8903a5c161ec1121c8fdcbdb9d94f9903e87a9 Mon Sep 17 00:00:00 2001 From: Zhangfeng Date: Sat, 17 Jul 2021 11:50:46 +0000 Subject: [PATCH] fix compilation errors Signed-off-by: Zhangfeng --- .../dhcp_manage/dhcp_client/include/dhcp_function.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/include/dhcp_function.h b/services/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/include/dhcp_function.h index 82b2958c6..94e64e2d7 100644 --- a/services/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/include/dhcp_function.h +++ b/services/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/include/dhcp_function.h @@ -23,6 +23,12 @@ extern "C" { #endif +/* Temporarily fix compilation errors begin */ +#ifndef pid_t +#define pid_t int +#endif +/* Temporarily fix compilation errors end */ + bool Ip4StrConToInt(const char *strIp, uint32_t *uIp, bool bHost); char *Ip4IntConToStr(uint32_t uIp, bool bHost); bool Ip6StrConToChar(const char *strIp, uint8_t chIp[], size_t chlen); -- Gitee