[remove rtlibc]修复缺失的头文件导致的报错

This commit is contained in:
Meco Man
2021-09-11 14:43:09 -04:00
parent ee55c58ce4
commit b35fffd659
5 changed files with 5 additions and 1 deletions
@@ -10,6 +10,7 @@
#ifndef SAL_NETDB_H__
#define SAL_NETDB_H__
#include <stddef.h>
#include "sal_socket.h"
#ifdef __cplusplus
@@ -11,6 +11,7 @@
#ifndef SAL_SOCKET_H__
#define SAL_SOCKET_H__
#include <stddef.h>
#include <arpa/inet.h>
#ifdef __cplusplus
@@ -16,6 +16,7 @@
extern "C" {
#endif
#include <stddef.h>
#include <sal_netdb.h>
struct hostent *gethostbyname(const char *name);