aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--signal/signal.h5
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f37370c..8495478 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-06-02 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #21543]
+ * signal/signal.h: Only include <bits/types/sigevent_t.h> and
+ <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
+ [__USE_XOPEN_EXTENDED].
+
2017-06-02 Florian Weimer <fweimer@redhat.com>
* sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
diff --git a/signal/signal.h b/signal/signal.h
index 947873e..21d628d 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -55,8 +55,11 @@ typedef __uid_t uid_t;
#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
# include <bits/types/siginfo_t.h>
-# include <bits/types/sigevent_t.h>
# include <bits/siginfo-consts.h>
+#endif
+
+#ifdef __USE_POSIX199309
+# include <bits/types/sigevent_t.h>
# include <bits/sigevent-consts.h>
#endif