Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-13 02:42:48 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-07-13 02:42:48 +0400
commitea20b60a965e098534c099562b6609d1599131de (patch)
treed3ebc567eacc97485cfc9c143ab4a3cb33a9953a /newlib/libc/sys/linux
parente82f98d05087011d8fb96eee68bb63fa2a7fa35b (diff)
2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h> instead of <asm/siginfo.h>. * libc/sys/linux/sys/signal.h: Change to include various linux <bits/xxx.h> header files, rather than <linux/signal.h> so as to work with multiple releases of glibc header files.
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r--newlib/libc/sys/linux/include/mqueue.h2
-rw-r--r--newlib/libc/sys/linux/sys/signal.h7
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/include/mqueue.h b/newlib/libc/sys/linux/include/mqueue.h
index 10e81e72f..1cdc095ec 100644
--- a/newlib/libc/sys/linux/include/mqueue.h
+++ b/newlib/libc/sys/linux/include/mqueue.h
@@ -7,7 +7,7 @@
#include <sys/types.h>
#define __need_sigevent_t 1
-#include <asm/siginfo.h>
+#include <bits/siginfo.h>
/* message queue types */
typedef int mqd_t;
diff --git a/newlib/libc/sys/linux/sys/signal.h b/newlib/libc/sys/linux/sys/signal.h
index 73e9c7921..edbec6f50 100644
--- a/newlib/libc/sys/linux/sys/signal.h
+++ b/newlib/libc/sys/linux/sys/signal.h
@@ -8,7 +8,6 @@
#define _SIGNAL_H
#include <sys/types.h>
-#include <linux/signal.h>
#include <bits/sigset.h>
#include <bits/signum.h>
@@ -20,6 +19,12 @@
#undef sigset_t
#define sigset_t __sigset_t
+typedef void (*__sighandler_t) (int);
+
+#include <bits/siginfo.h>
+#include <bits/sigaction.h>
+#include <bits/sigstack.h>
+
/* --- include/signal.h thinks it knows better :-( --- */
#undef SIG_DFL