From fd9f1b104dc87964c79bb7f5c030a3ee201c3959 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 10 May 2012 15:27:04 -0700 Subject: Hurd: Fix POSIX 2008 visibility (cherry picked from commit ee16e894aaf51674058224fe0ece852bd0b3632d) Conflicts: ChangeLog --- bits/sigaction.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bits') diff --git a/bits/sigaction.h b/bits/sigaction.h index a5e1d186ac..a737660ce4 100644 --- a/bits/sigaction.h +++ b/bits/sigaction.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,96,97,98,2001 Free Software Foundation, Inc. +/* Copyright (C) 1991-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -54,6 +54,8 @@ struct sigaction /* Bits in `sa_flags'. */ #if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x0001 /* Take signal on signal stack. */ +#endif +#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8 # define SA_RESTART 0x0002 /* Restart syscall on signal return. */ # define SA_NODEFER 0x0010 /* Don't automatically block the signal when its handler is being executed. */ -- cgit v1.2.3