aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2011-08-26 15:24:54 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2011-08-26 15:24:54 +0000
commit84f3091bc2cf860872a31811c8b70c74902199eb (patch)
treed7968de66bae1be2122e0f45972e159887b0b582 /gnu
parent4cefd5cf3e77423d94301e7868e0da1cf59666d1 (diff)
downloadsrc-84f3091bc2cf860872a31811c8b70c74902199eb.tar.gz
src-84f3091bc2cf860872a31811c8b70c74902199eb.zip
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
Notes
Notes: svn path=/head/; revision=225190
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c2
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 84599d9fc8cd..674deffaa3f5 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