aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-06-27 16:41:21 +0000
committerMark Kettenis <kettenis@gnu.org>2004-06-27 16:41:21 +0000
commitd15be92637cddfa1f622fe4a4354441478119cce (patch)
tree9a7ebd9d8f2070112aa145a870abfef5ca556fa3 /gdb/configure.in
parent9062529b147a181e6d9bc99aafdd29a689e8e38c (diff)
downloadgdb-d15be92637cddfa1f622fe4a4354441478119cce.zip
gdb-d15be92637cddfa1f622fe4a4354441478119cce.tar.gz
gdb-d15be92637cddfa1f622fe4a4354441478119cce.tar.bz2
* configure.in: Include <sys/param.h> for td_pcb test.
* configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 04ec435..3daa12b 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -496,7 +496,8 @@ fi
# See if <sys/proc.h> defines `struct thread' with a td_pcb member.
AC_CACHE_CHECK([for td_pcb in struct thread], gdb_cv_struct_thread_td_pcb,
-[AC_TRY_COMPILE([#include <sys/proc.h>], [struct thread td; td.td_pcb;],
+[AC_TRY_COMPILE([#include <sys/param.h>
+#include <sys/proc.h>], [struct thread td; td.td_pcb;],
gdb_cv_struct_thread_td_pcb=yes, gdb_cv_struct_thread_td_pcb=no)])
if test $gdb_cv_struct_thread_td_pcb = yes; then
AC_DEFINE(HAVE_STRUCT_THREAD_TD_PCB, 1,