mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 06:00:27 +08:00
Merge pull request #5052 from mysterywolf/headfile
[remove rtlibc]修复缺失的头文件导致的报错
This commit is contained in:
commit
00eaeb5f52
@ -12,6 +12,7 @@
|
|||||||
#ifndef __AT_H__
|
#ifndef __AT_H__
|
||||||
#define __AT_H__
|
#define __AT_H__
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include <at.h>
|
#include <at.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
#include <rthw.h>
|
#include <rthw.h>
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#ifndef SAL_NETDB_H__
|
#ifndef SAL_NETDB_H__
|
||||||
#define SAL_NETDB_H__
|
#define SAL_NETDB_H__
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include "sal_socket.h"
|
#include "sal_socket.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#ifndef SAL_SOCKET_H__
|
#ifndef SAL_SOCKET_H__
|
||||||
#define SAL_SOCKET_H__
|
#define SAL_SOCKET_H__
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <sal_netdb.h>
|
#include <sal_netdb.h>
|
||||||
|
|
||||||
struct hostent *gethostbyname(const char *name);
|
struct hostent *gethostbyname(const char *name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user