X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=oUGIWB7SzdbSgzVQI3QwDKQQATt2hiY 7hIoVcGBhInwFPutyjBQxcSehb7nlx29oL+lskEzuj9zNJm7yiaGLBS0FYp5l3aY PaUNExC+upg6UIilLHFzAxzb607GWdN+niTtKuWdTh/eVC2+Tm1oysS70iFjMcLL 4N7yXiAbecbY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=fF/t0rra4LcCrjfPB+n/2gVMEh4=; b=CMPx7 PX2p9RIqve+SDlP/WBIHzXJBl/vY/z4xatm/VOxP+EPOI9PMrc0utAXWEU6N13T+ 7xVFLQeCvRfWKCClcZ3MGzzmS2WGQpejJz//d1NKP8iHZV4f6v/RYDmfIjVM/8Qv 2y14zRS28UanX9r7+y+eY7gYk3P/t28rmszCxs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com From: Yaakov Selkowitz To: cygwin AT cygwin DOT com Subject: [PATCH] sys/signal.h: include sys/ucontext.h on Cygwin per POSIX.1-2008 Date: Mon, 17 Aug 2015 21:46:19 -0500 Message-Id: <1439865979-12361-1-git-send-email-yselkowi@redhat.com> In-Reply-To: <20150817121015.GF18305@calimero.vinschen.de> References: <20150817121015 DOT GF18305 AT calimero DOT vinschen DOT de> * libc/include/sys/signal.h [__CYGWIN__]: include if compiling for POSIX.1-2008. Signed-off-by: Yaakov Selkowitz --- How about this? Other places I tried didn't compile. newlib/libc/include/sys/signal.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index af5a489..e9aba7c 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -352,6 +352,12 @@ int _EXFUN(sigqueue, (pid_t pid, int signo, const union sigval value)); } #endif +#if defined(__CYGWIN__) +#if __POSIX_VISIBLE >= 200809 +#include +#endif +#endif + #ifndef _SIGNAL_H_ /* Some applications take advantage of the fact that * and are equivalent in glibc. Allow for that here. */ -- 2.4.3 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple