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
This commit is contained in:
Olivier Houchard 2011-08-26 15:24:54 +00:00
parent 4cefd5cf3e
commit 84f3091bc2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225190

View File

@ -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