[newlib-cygwin] exceptions.cc: Drop including ucontext.h.

Corinna Vinschen corinna@sourceware.org
Tue Aug 18 09:09:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f9f3d44f27008154b83c088b62ab82cc4168f5ac

commit f9f3d44f27008154b83c088b62ab82cc4168f5ac
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Aug 18 11:09:25 2015 +0200

    exceptions.cc: Drop including ucontext.h.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/ChangeLog     | 4 ++++
 winsup/cygwin/exceptions.cc | 1 -
 winsup/cygwin/release/2.2.1 | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a4d68b2..ba2b657 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-18  Corinna Vinschen  <corinna@vinschen.de>
+
+	* exceptions.cc: Drop including ucontext.h.
+
 2015-08-17  Corinna Vinschen  <corinna@vinschen.de>
 
 	* grp.cc (internal_getgrfull): Drop asking caches.  Explain why.
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index e6c000f..60f09d6 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -17,7 +17,6 @@ details. */
 #include <stdarg.h>
 #include <syslog.h>
 #include <wchar.h>
-#include <ucontext.h>
 
 #include "cygtls.h"
 #include "pinfo.h"
diff --git a/winsup/cygwin/release/2.2.1 b/winsup/cygwin/release/2.2.1
index c16a3de..294e0c9 100644
--- a/winsup/cygwin/release/2.2.1
+++ b/winsup/cygwin/release/2.2.1
@@ -20,3 +20,6 @@ Bug Fixes
   actually observered in Wine yet.  However, MSDN language indicates this
   might be a problem on real Windows as well.
   Addresses: https://cygwin.com/ml/cygwin/2015-08/msg00225.html
+
+- Include <sys/ucontext.h> from <sys/signal.h> if compiling for POSIX.1-2008.
+  Addresses: https://cygwin.com/ml/cygwin/2015-08/msg00266.html



More information about the Cygwin-cvs mailing list