summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-28 15:06:47 +0000
committerChristopher Faylor <me@cgf.cx>2004-10-28 15:06:47 +0000
commitb08d08c7c44636f9c5d42cd5c993fb77c00886d6 (patch)
treec5d318fcee2a23e7445b3e00db8db8cc0dec311a /newlib/libc/include/sys
parent7be5e72f3d251fd05044f4d1e71ef0da57cdf8d0 (diff)
downloadcygnal-b08d08c7c44636f9c5d42cd5c993fb77c00886d6.tar.gz
cygnal-b08d08c7c44636f9c5d42cd5c993fb77c00886d6.tar.bz2
cygnal-b08d08c7c44636f9c5d42cd5c993fb77c00886d6.zip
* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
all relevant definitions have been handled for use in the include.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/signal.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 9b6d7f891..78f06951e 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -2,13 +2,6 @@
#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
@@ -308,4 +301,10 @@ int _EXFUN(sigqueue, (pid_t pid, int signo, const union sigval value));
#ifdef __cplusplus
}
#endif
+
+#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
#endif /* _SYS_SIGNAL_H */