From ee663277dc2e2eeab0ed18ebd9de63576661296f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 19 Nov 2012 22:17:58 +0000 Subject: Define siginfo_t in signal.h for XPG4 (bug 14835). --- signal/signal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'signal/signal.h') 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 +#endif +#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED /* Get the `siginfo_t' type plus the needed symbols. */ # include #endif -- cgit v1.2.3