diff options
author | cognet <cognet@FreeBSD.org> | 2011-08-26 15:24:54 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2011-08-26 15:24:54 +0000 |
commit | a6e9ddddeabe3d609303aa5b60184265cdbd1aae (patch) | |
tree | d7968de66bae1be2122e0f45972e159887b0b582 /gnu | |
parent | 5d358aac624b2462feb612b5f7c85101ede957e5 (diff) | |
download | FreeBSD-src-a6e9ddddeabe3d609303aa5b60184265cdbd1aae.zip FreeBSD-src-a6e9ddddeabe3d609303aa5b60184265cdbd1aae.tar.gz |
Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn't
used anyway, and it breaks the build, since sys/ptrace.h now includes
<machine/reg.h>
Approved by: re
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c b/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c index 84599d9..674deff 100644 --- a/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c +++ b/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c @@ -32,8 +32,8 @@ #include "arm-tdep.h" #include <sys/types.h> -#include <sys/ptrace.h> #ifndef CROSS_DEBUGGER +#include <sys/ptrace.h> #include <machine/reg.h> #include <machine/frame.h> #endif |