From: Randolph Chung Date: Mon, 7 Jun 2004 15:19:08 +0000 (+0000) Subject: 2004-06-07 Guy Martin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a727a3c4fd3be05fc8224bec1a8c3ea5f600ca2;p=binutils-gdb.git 2004-06-07 Guy Martin Committed by Randolph Chung. * hppa-linux-nat.c: Include the correct version of the header file depending on the kernel version. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dd4f1c5c6f..35c043f1fd6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-06-07 Guy Martin + + Committed by Randolph Chung. + * hppa-linux-nat.c: Include the correct version of the header file + depending on the kernel version. + 2004-06-06 Randolph Chung * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround. diff --git a/gdb/hppa-linux-nat.c b/gdb/hppa-linux-nat.c index d88c142dd0a..c15e1ab7122 100644 --- a/gdb/hppa-linux-nat.c +++ b/gdb/hppa-linux-nat.c @@ -27,7 +27,13 @@ #include #include #include +#include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,43) +#include +#else #include +#endif #include "hppa-tdep.h"