aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-01-25 11:05:53 +0100
committerAndreas Schwab <schwab@suse.de>2015-01-29 10:00:25 +0100
commitb658fdd82b4524cf6a39881d092caa23f63d93ac (patch)
tree902cb5d851c0386e520d1d9100e21745690696bb
parent00b8b9baf410d28598e3c9a967ecc5dbb7e604af (diff)
downloadglibc-b658fdd82b4524cf6a39881d092caa23f63d93ac.zip
glibc-b658fdd82b4524cf6a39881d092caa23f63d93ac.tar.gz
glibc-b658fdd82b4524cf6a39881d092caa23f63d93ac.tar.bz2
Include <signal.h> in sysdeps/nptl/allocrtsig.c
Architectures which don't use hp-timing-common.h don't include <signal.h> via <sys/param.h>.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/nptl/allocrtsig.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6313758..26f7f3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-29 Andreas Schwab <schwab@suse.de>
+
+ * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
+
2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #17892]
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.