summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/include/socket/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/sal_socket/include/socket/netdb.h')
-rw-r--r--components/net/sal_socket/include/socket/netdb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/net/sal_socket/include/socket/netdb.h b/components/net/sal_socket/include/socket/netdb.h
index 17f83efe00..8394fddea5 100644
--- a/components/net/sal_socket/include/socket/netdb.h
+++ b/components/net/sal_socket/include/socket/netdb.h
@@ -1,12 +1,12 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2015-02-17 Bernard First version
- * 2108-05-24 ChenYong Add socket abstraction layer
+ * 2018-05-24 ChenYong Add socket abstraction layer
*/
#ifndef NETDB_H__
@@ -16,6 +16,7 @@
extern "C" {
#endif
+#include <stddef.h>
#include <sal_netdb.h>
struct hostent *gethostbyname(const char *name);