diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-19 22:17:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-19 22:17:58 +0000 |
commit | ee663277dc2e2eeab0ed18ebd9de63576661296f (patch) | |
tree | 41c72bf674b36068ee54755a3c4852d47c9ca8c2 /signal | |
parent | 381594c4cf393590c0f4c367a0c249f64b421927 (diff) | |
download | glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.zip glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.tar.gz glibc-ee663277dc2e2eeab0ed18ebd9de63576661296f.tar.bz2 |
Define siginfo_t in signal.h for XPG4 (bug 14835).
Diffstat (limited to 'signal')
-rw-r--r-- | signal/signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/signal/signal.h b/signal/signal.h index a6a0590..36720d4 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 |