aboutsummaryrefslogtreecommitdiff
path: root/signal/signal.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-19 19:47:36 +0000
committerRoland McGrath <roland@gnu.org>2003-02-19 19:47:36 +0000
commita9a4ef063f9c3a71f6f31677b351723a645e2b6d (patch)
treebda964f1900c5f86b870f4923d2109e4689690f6 /signal/signal.h
parentb5f7b1192580309fd638feaa8bbc99f8f73d366f (diff)
downloadglibc-a9a4ef063f9c3a71f6f31677b351723a645e2b6d.zip
glibc-a9a4ef063f9c3a71f6f31677b351723a645e2b6d.tar.gz
glibc-a9a4ef063f9c3a71f6f31677b351723a645e2b6d.tar.bz2
2003-02-16 Roland McGrath <roland@redhat.com>
* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
Diffstat (limited to 'signal/signal.h')
-rw-r--r--signal/signal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 1c80864..f0cd50e 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -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).