backtrace.c: Include backtrace-supported.h before checking BACKTRACE_USES_MALLOC.
* backtrace.c: Include backtrace-supported.h before checking BACKTRACE_USES_MALLOC. From-SVN: r259439
This commit is contained in:
parent
db051c243c
commit
c36af1b4da
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-04-17 Ian Lance Taylor <iant@golang.org>
|
||||
|
||||
* backtrace.c: Include backtrace-supported.h before checking
|
||||
BACKTRACE_USES_MALLOC.
|
||||
|
||||
2018-04-17 Ian Lance Taylor <iant@golang.org>
|
||||
|
||||
* backtrace.c (backtrace_full): When testing whether we can
|
||||
|
|
|
@ -35,13 +35,14 @@ POSSIBILITY OF SUCH DAMAGE. */
|
|||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "backtrace-supported.h"
|
||||
|
||||
#if !BACKTRACE_USES_MALLOC
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#include "unwind.h"
|
||||
#include "backtrace.h"
|
||||
#include "backtrace-supported.h"
|
||||
#include "internal.h"
|
||||
|
||||
#ifndef MAP_ANONYMOUS
|
||||
|
|
Loading…
Add table
Reference in a new issue