summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/signal.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-10-08 17:40:57 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-10-08 17:40:57 +0000
commit73131c2d20a76e0e839b4cacd66467c7b8e6cd13 (patch)
treefedda0047660a16cf821cedf1568c7582f22ea02 /newlib/libc/include/sys/signal.h
parentb39ffd8c4a8981f0444fef3a2921e317634f5309 (diff)
downloadcygnal-73131c2d20a76e0e839b4cacd66467c7b8e6cd13.tar.gz
cygnal-73131c2d20a76e0e839b4cacd66467c7b8e6cd13.tar.bz2
cygnal-73131c2d20a76e0e839b4cacd66467c7b8e6cd13.zip
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.
Diffstat (limited to 'newlib/libc/include/sys/signal.h')
-rw-r--r--newlib/libc/include/sys/signal.h6
1 files changed, 6 insertions, 0 deletions
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