]> granicus.if.org Git - strace/commitdiff
2007-07-11 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Wed, 11 Jul 2007 07:11:20 +0000 (07:11 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 11 Jul 2007 07:11:20 +0000 (07:11 +0000)
* configure.ac (struct sigcontext.sc_hi2): Use #ifdef around
<asm/sigcontext.h> to match signal.c include conditions.

configure.ac

index 57741d4c6e413821b50f10cdd57936f316d83798..ea6abe822bd3173a0ad639fcb44a4c180388ffdf 100644 (file)
@@ -220,7 +220,9 @@ AC_CHECK_TYPES([struct user_desc],,, [#include <asm/ldt.h>])
 AC_CHECK_MEMBERS([struct dqblk.dqb_curblocks],,, [#include <sys/quota.h>])
 
 AC_CHECK_MEMBERS([struct sigcontext.sc_hi2],,, [#include <signal.h>
-#include <asm/sigcontext.h>])
+#ifdef HAVE_ASM_SIGCONTEXT_H
+# include <asm/sigcontext.h>
+#endif])
 
 
 AC_CHECK_DECLS([sys_errlist])