[PATCH] Include <signal.h> in <nptl-signals.h>

Andreas Schwab schwab@suse.de
Wed Jan 28 10:00:00 GMT 2015


Looking at it again I think it is preferable to include the header in
sysdeps/nptl/allocrtsig.c.  Do you agree?

Andreas.

diff --git a/sysdeps/nptl/allocrtsig.c b/sysdeps/nptl/allocrtsig.c
index 6b1c5b2..7e3c621 100644
--- a/sysdeps/nptl/allocrtsig.c
+++ b/sysdeps/nptl/allocrtsig.c
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <signal.h>
 #include <nptl/pthreadP.h>
 
 /* Up to three special signals might be used privately by libpthread.
-- 
2.2.2

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list