diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-01-10 18:43:30 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-01-10 18:43:30 -0800 |
commit | 33780b6d332af9d94216eff880734be7748c2269 (patch) | |
tree | ee7dc2eaa2735aba018a66b81e5a119fc4a3ef2c /signal/signal.h | |
parent | 99d46ae3794830e996717a53c8551d758a64eeb5 (diff) | |
download | glibc-33780b6d332af9d94216eff880734be7748c2269.tar.gz glibc-33780b6d332af9d94216eff880734be7748c2269.tar.xz glibc-33780b6d332af9d94216eff880734be7748c2269.zip |
FIx up signal.h for XPG7.
Diffstat (limited to 'signal/signal.h')
-rw-r--r-- | signal/signal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/signal/signal.h b/signal/signal.h index 67f8cb4d3c..2bdf648dff 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2003, 2004, 2007, 2009 Free Software Foundation, Inc. +/* Copyright (C) 1991-2004, 2007, 2009, 2010 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 @@ -344,7 +344,7 @@ extern int sigreturn (struct sigcontext *__scp) __THROW; #endif /* use BSD. */ -#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED +#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8 # define __need_size_t # include <stddef.h> @@ -354,7 +354,7 @@ extern int sigreturn (struct sigcontext *__scp) __THROW; extern int siginterrupt (int __sig, int __interrupt) __THROW; # include <bits/sigstack.h> -# ifdef __USE_XOPEN +# if defined __USE_XOPEN || defined __USE_XOPEN2K8 /* This will define `ucontext_t' and `mcontext_t'. */ # include <sys/ucontext.h> # endif |