Update signal.c

fixing build errors.