summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/include/socket
diff options
context:
space:
mode:
author192.168.1.134 <[email protected]>2021-10-09 16:25:13 +0800
committer192.168.1.134 <[email protected]>2021-10-09 16:25:13 +0800
commit1cc7c67850fe8beda95c95ae7f077b30b5088b56 (patch)
tree6c3b12639c7411983833965d638e5e5cc8ad3190 /components/net/sal_socket/include/socket
parentb404f69f851817c62697074ffb363294b91585c6 (diff)
parent50433a51bd328f424172ac8471f4b3044343dcfb (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/net/sal_socket/include/socket')
-rw-r--r--components/net/sal_socket/include/socket/netdb.h1
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);