summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-05 16:59:53 +0800
committermysterywolf <[email protected]>2020-09-05 16:59:53 +0800
commitd5d8b345f4d9caacfd4dabce0d8ce374f7e7b81e (patch)
treed8c8539977d5a96fdeb6d531cf403b3488d599c3 /include
parent6fa049ee3dedb7fe1ca321ef5f367fdb4a498181 (diff)
修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
Diffstat (limited to 'include')
-rw-r--r--include/libc/libc_signal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libc/libc_signal.h b/include/libc/libc_signal.h
index 898fe13f43..539685de3e 100644
--- a/include/libc/libc_signal.h
+++ b/include/libc/libc_signal.h
@@ -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;
};