svn commit: r326707 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Fri Dec 8 19:56:36 UTC 2017
Author: imp
Date: Fri Dec 8 19:56:35 2017
New Revision: 326707
URL: https://svnweb.freebsd.org/changeset/base/326707
Log:
Add partial support signal.h functioanlity. Pull in machine/signal.h
to define sig_atomic_t.
Sponsored by: Netflix
Modified:
head/stand/libsa/Makefile
head/stand/libsa/stand.h
Modified: head/stand/libsa/Makefile
==============================================================================
--- head/stand/libsa/Makefile Fri Dec 8 19:50:06 2017 (r326706)
+++ head/stand/libsa/Makefile Fri Dec 8 19:56:35 2017 (r326707)
@@ -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
Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h Fri Dec 8 19:50:06 2017 (r326706)
+++ head/stand/libsa/stand.h Fri Dec 8 19:56:35 2017 (r326707)
@@ -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;
/*
More information about the svn-src-head
mailing list