Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.
+2004-06-07 Guy Martin <gmsoft@gentoo.org>
+
+ 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 <tausq@debian.org>
* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <string.h>
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,43)
+#include <asm/offset.h>
+#else
#include <asm/offsets.h>
+#endif
#include "hppa-tdep.h"