mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user