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.
This commit is contained in:
Randolph Chung
2004-06-07 15:19:08 +00:00
parent 86fe4aaa40
commit 9a727a3c4f
2 changed files with 12 additions and 0 deletions

View File

@@ -27,7 +27,13 @@
#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"