From 73131c2d20a76e0e839b4cacd66467c7b8e6cd13 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 8 Oct 2004 17:40:57 +0000 Subject: [PATCH] 2004-10-08 Jeff Johnston * libc/include/sys/signal.h: If didn't include this header file, include to account for applications that take advantage that the two header files are the same in glibc. --- newlib/ChangeLog | 7 +++++++ newlib/libc/include/sys/signal.h | 6 ++++++ 2 files changed, 13 insertions(+) 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 + + * libc/include/sys/signal.h: If didn't include + this header file, include to account for + applications that take advantage that the two header + files are the same in glibc. + 2004-10-05 Tomer Levi * 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 + * and are equivalent in glibc. Allow for that here. */ +#include +#endif + #ifdef __cplusplus extern "C" { #endif