diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-rw-r--r-- | newlib/libc/include/sys/signal.h | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 06133c25b..388d48027 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2004-10-08 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/sys/signal.h: If <signal.h> didn't include + this header file, include <signal.h> to account for + applications that take advantage that the two header + files are the same in glibc. + 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> * configure.host: Add support for crx. diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index 2bfbbf0a8..9b6d7f891 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -3,6 +3,12 @@ #ifndef _SYS_SIGNAL_H #define _SYS_SIGNAL_H +#ifndef _SIGNAL_H_ +/* Some applications take advantage of the fact that <sys/signal.h> + * and <signal.h> are equivalent in glibc. Allow for that here. */ +#include <signal.h> +#endif + #ifdef __cplusplus extern "C" { #endif |