提交 d5d8b345 编写于 作者: mysterywolf's avatar mysterywolf

修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译

上级 6fa049ee
......@@ -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;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册