mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Add a _GNU_SOURCE definition to backtrace.c to fix compilation
This commit is contained in:
parent
d0f9a2b846
commit
3cdd7966d7
@ -1,14 +1,15 @@
|
|||||||
/* Copyright (c) 2013, The Tor Project, Inc. */
|
/* Copyright (c) 2013, The Tor Project, Inc. */
|
||||||
/* See LICENSE for licensing information */
|
/* See LICENSE for licensing information */
|
||||||
|
|
||||||
|
#define __USE_GNU
|
||||||
|
#define _GNU_SOURCE 1
|
||||||
|
|
||||||
#include "orconfig.h"
|
#include "orconfig.h"
|
||||||
#include "backtrace.h"
|
#include "backtrace.h"
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "torlog.h"
|
#include "torlog.h"
|
||||||
|
|
||||||
#define __USE_GNU
|
|
||||||
|
|
||||||
#ifdef HAVE_EXECINFO_H
|
#ifdef HAVE_EXECINFO_H
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user