fix warning of posix_signal

This commit is contained in:
Meco Man 2021-05-22 02:56:53 +08:00
parent a5f7635f31
commit 0e0e2a0f95
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
#include <rthw.h>
#include <rtthread.h>
#include <time.h>
#include <sys/time.h>
#include <sys/errno.h>
#include "posix_signal.h"
#define sig_valid(sig_no) (sig_no >= 0 && sig_no < RT_SIG_MAX)