mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 08:53:32 +08:00
[libc] redirecting header sys/signal to signal
This commit is contained in:
parent
0b58637a49
commit
6a25a68be6
@ -16,6 +16,10 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifdef RT_USING_MUSLLIBC
|
||||
#include <signal.h>
|
||||
#else
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@ -229,6 +233,8 @@ int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact)
|
||||
#define SIG_IGN ((void (*)(int)) 1)
|
||||
#endif
|
||||
|
||||
#endif /* RT_USING_MUSLLIBC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Loading…
x
Reference in New Issue
Block a user