diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-13 21:14:50 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-13 21:14:50 +0200 |
commit | 01ec7a272201de84be1ca2c557e58d97891f288c (patch) | |
tree | 476b03b8622a0509da1e74097c70616831c07e72 /gdb/darwin-nat.c | |
parent | 848d907446d738604d11ab4061f3b0a8b23d4504 (diff) | |
download | gdb-01ec7a272201de84be1ca2c557e58d97891f288c.zip gdb-01ec7a272201de84be1ca2c557e58d97891f288c.tar.gz gdb-01ec7a272201de84be1ca2c557e58d97891f288c.tar.bz2 |
darwin-nat: Add missing include
I forgot this one, which is kind of related.
The function trace_start_error_with_name has moved in commit "Share
fork_inferior et al with gdbserver", so this additional include is
needed.
Fixes:
darwin-nat.c:1735:5: error: use of undeclared identifier 'trace_start_error_with_name'
trace_start_error_with_name ("close");
gdb/ChangeLog:
* darwin-nat.c: Include "nat/fork-inferior.h".
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 4330a60..cd67249 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -63,6 +63,7 @@ #include "darwin-nat.h" #include "common/filestuff.h" +#include "nat/fork-inferior.h" /* Quick overview. Darwin kernel is Mach + BSD derived kernel. Note that they share the |