This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Include <signal.h> in <nptl-signals.h>
- From: Andreas Schwab <schwab at suse dot de>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 28 Jan 2015 10:13:25 +0100
- Subject: Re: [PATCH] Include <signal.h> in <nptl-signals.h>
- Authentication-results: sourceware.org; auth=none
- References: <mvmtwzdpu60 dot fsf at hawking dot suse dot de> <20150127191507 dot 2BF062C3B05 at topped-with-meat dot com>
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."