diff options
| author | guo <[email protected]> | 2021-09-12 13:08:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-12 13:08:06 +0800 |
| commit | 00eaeb5f52064c40796648a24a2f6aebe1da0348 (patch) | |
| tree | 1e3516d4e2b3a52a45bc3539ee5197c14972ce45 /components/net/sal_socket/include/socket | |
| parent | ee55c58ce43cf2405481db11df187af3aff74eb4 (diff) | |
| parent | b35fffd6596265773021539ad42a0b1012784e11 (diff) | |
Merge pull request #5052 from mysterywolf/headfile
[remove rtlibc]修复缺失的头文件导致的报错
Diffstat (limited to 'components/net/sal_socket/include/socket')
| -rw-r--r-- | components/net/sal_socket/include/socket/netdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/sal_socket/include/socket/netdb.h b/components/net/sal_socket/include/socket/netdb.h index 9d54953681..8394fddea5 100644 --- a/components/net/sal_socket/include/socket/netdb.h +++ b/components/net/sal_socket/include/socket/netdb.h @@ -16,6 +16,7 @@ extern "C" { #endif +#include <stddef.h> #include <sal_netdb.h> struct hostent *gethostbyname(const char *name); |
