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:
cognet 2011-08-26 15:24:54 +00:00
parent 5d358aac62
commit a6e9ddddea

View File

@ -32,8 +32,8 @@
#include "arm-tdep.h" #include "arm-tdep.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/ptrace.h>
#ifndef CROSS_DEBUGGER #ifndef CROSS_DEBUGGER
#include <sys/ptrace.h>
#include <machine/reg.h> #include <machine/reg.h>
#include <machine/frame.h> #include <machine/frame.h>
#endif #endif