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:
parent
5d358aac62
commit
a6e9ddddea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user