2003-02-16 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 19 Feb 2003 19:47:36 +0000 (19:47 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 19 Feb 2003 19:47:36 +0000 (19:47 +0000)
* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.

signal/signal.h

index 1c80864..f0cd50e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1999,2000,2001,2002,2003 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
@@ -327,7 +327,8 @@ extern int siginterrupt (int __sig, int __interrupt) __THROW;
 
 # include <bits/sigstack.h>
 # ifdef __USE_XOPEN
-#  include <ucontext.h>
+/* This will define `ucontext_t' and `mcontext_t'.  */
+#  include <sys/ucontext.h>
 # endif
 
 /* Run signals handlers on the stack specified by SS (if not NULL).