Remove unecessary <execinfo.h> include (#99800)

Fixes compilation error on systems that have __cxa_demangle but no backtrace function, such as systems using GCC and the Musl C library.

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/99800
Approved by: https://github.com/kit1980
This commit is contained in:
Felix Janda
2023-04-28 02:20:20 +00:00
committed by PyTorch MergeBot
parent a8ad0dc333
commit 6168bed663

View File

@ -7,7 +7,6 @@
#if HAS_DEMANGLE
#include <cxxabi.h>
#include <execinfo.h>
namespace c10 {