修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
This commit is contained in:
parent
6fa049ee3d
commit
d5d8b345f4
|
@ -14,6 +14,7 @@
|
|||
#define POSIX_GETLINE_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
|
||||
ssize_t getline(char **lineptr, size_t *n, FILE *stream);
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#ifdef HAVE_CCONFIG_H
|
||||
#include <cconfig.h>
|
||||
#endif
|
||||
|
@ -46,8 +47,8 @@ struct sigevent
|
|||
#ifndef HAVE_SIGINFO
|
||||
struct siginfo
|
||||
{
|
||||
rt_uint16_t si_signo;
|
||||
rt_uint16_t si_code;
|
||||
uint16_t si_signo;
|
||||
uint16_t si_code;
|
||||
|
||||
union sigval si_value;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue