diff options
Diffstat (limited to 'src/rt/rust_android_dummy.h')
| -rw-r--r-- | src/rt/rust_android_dummy.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/rt/rust_android_dummy.h b/src/rt/rust_android_dummy.h index 2e8b6f2c766..95a1774894b 100644 --- a/src/rt/rust_android_dummy.h +++ b/src/rt/rust_android_dummy.h @@ -2,4 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "execinfo.h" +#ifndef _RUST_ANDROID_DUMMY_H +#define _RUST_ANDROID_DUMMY_H + +int backtrace (void **__array, int __size); + +char **backtrace_symbols (void *__const *__array, int __size); + +void backtrace_symbols_fd (void *__const *__array, int __size, int __fd); + +#endif + |
