]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define siginfo_t in signal.h for XPG4 (bug 14835).
authorJoseph Myers <joseph@codesourcery.com>
Mon, 19 Nov 2012 22:17:58 +0000 (22:17 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 19 Nov 2012 22:17:58 +0000 (22:17 +0000)
ChangeLog
NEWS
signal/signal.h

index 1031d4d5c11813782c0918e72ad758f7252f2ecc..5d18c3da2fed5d855d760aa39aa4ab2d6b514133 100644 (file)
--- 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 01caf532df5fb5af1d050137c649fd491e65ce31..23f1d83fcf345133b4025dcbf18b1ff0ac2ae7a9 100644 (file)
--- 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.
 
index a6a0590e4bd5cac06809c1cf1c418be7b57a443b..36720d4572c9d2630c8277433572da877ed2751a 100644 (file)
@@ -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