aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-19 22:17:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-19 22:17:58 +0000
commitee663277dc2e2eeab0ed18ebd9de63576661296f (patch)
tree41c72bf674b36068ee54755a3c4852d47c9ca8c2
parent381594c4cf393590c0f4c367a0c249f64b421927 (diff)
downloadglibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.tar
glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.tar.gz
glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.tar.bz2
glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.zip
Define siginfo_t in signal.h for XPG4 (bug 14835).
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--signal/signal.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1031d4d5c1..5d18c3da2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-19 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #14835]
+ * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
+ <bits/siginfo.h>.
+
2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
* malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
diff --git a/NEWS b/NEWS
index 01caf532df..23f1d83fcf 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,7 @@ Version 2.17
14638, 14645, 14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694,
14716, 14719, 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797,
14801, 14805, 14807, 14809, 14811, 14815, 14821, 14824, 14828, 14831,
- 14838.
+ 14835, 14838.
* Port to ARM AArch64 contributed by Linaro.
diff --git a/signal/signal.h b/signal/signal.h
index a6a0590e4b..36720d4572 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -73,7 +73,9 @@ typedef __uid_t uid_t;
/* We need `struct timespec' later on. */
# define __need_timespec
# include <time.h>
+#endif
+#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
/* Get the `siginfo_t' type plus the needed symbols. */
# include <bits/siginfo.h>
#endif