aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2006-06-13 16:36:40 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2006-06-13 16:36:40 +0000
commitde4fb767a9e80685a673a65b590774336f108c4f (patch)
treeb71d95bf298d88fafe0da71a059aa32d7244a9cf /gcc/configure.ac
parent572f9e47d337227229ab222bd9e1ff943f77b127 (diff)
downloadgcc-de4fb767a9e80685a673a65b590774336f108c4f.zip
gcc-de4fb767a9e80685a673a65b590774336f108c4f.tar.gz
gcc-de4fb767a9e80685a673a65b590774336f108c4f.tar.bz2
configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h> before <ucontext.h> to define sigset_t required by...
* configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h> before <ucontext.h> to define sigset_t required by <sys/ucontext.h>. * configure: Regenerate. From-SVN: r114614
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index a51f480..7ef1f4e 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1348,6 +1348,7 @@ case ${host} in
AC_CACHE_CHECK([whether mcontext_t fields have underscores],
gcc_cv_mcontext_underscores,
AC_COMPILE_IFELSE([
+#include <sys/signal.h>
#include <ucontext.h>
int main() { mcontext_t m; if (m->ss.srr0) return 0; return 0; }
],