Add partial support signal.h functioanlity. Pull in machine/signal.h

to define sig_atomic_t.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-08 19:56:35 +00:00
parent 04993890dc
commit 49cb01302c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326707
2 changed files with 4 additions and 1 deletions

View File

@ -111,7 +111,7 @@ beforedepend:
for i in _time.h _strings.h _string.h; do \
[ -f xlocale/$$i ] || cp /dev/null xlocale/$$i; \
done; \
for i in ctype.h fcntl.h stdio.h stdlib.h; do \
for i in ctype.h fcntl.h signal.h stdio.h stdlib.h; do \
ln -sf ${SASRC}/stand.h $$i; \
done

View File

@ -88,6 +88,9 @@
#define EOFFSET (ELAST+8) /* relative seek not supported */
#define ESALAST (ELAST+8) /* */
/* Partial signal emulation for sig_atomic_t */
#include <machine/signal.h>
struct open_file;
/*