I got the following error when compiling my code:
Code:
sender.c:156: warning: implicit declaration of function âsigemptysetâ
sender.c:157: warning: implicit declaration of function âsigaddsetâ
sender.c:160: warning: implicit declaration of function âsigactionâ
sender.c:170: warning: implicit declaration of function âsigprocmaskâ
sender.c:170: error: âSIG_BLOCKâ undeclared (first use in this function)
sender.c:170: error: (Each undeclared identifier is reported only once
sender.c:170: error: for each function it appears in.)
sender.c:193: error: âSIG_UNBLOCKâ undeclared (first use in this function)
any idea why? I've already included signal.h in the header file