summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 15:27:04 -0700
committerThomas Schwinge <thomas@codesourcery.com>2012-05-11 11:52:30 +0800
commitfd9f1b104dc87964c79bb7f5c030a3ee201c3959 (patch)
tree09fc9699f7e740575647ceeddb2f455af345a154 /bits
parent698d7591d04b9aa54c40420518633ab9ff2bf546 (diff)
Hurd: Fix POSIX 2008 visibility
(cherry picked from commit ee16e894aaf51674058224fe0ece852bd0b3632d) Conflicts: ChangeLog
Diffstat (limited to 'bits')
-rw-r--r--bits/sigaction.h4
1 files changed, 3 insertions, 1 deletions
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. */