Commit 2ac8a368 authored by Joe Loser's avatar Joe Loser Committed by Facebook Github Bot

Cut include needed from autotools build days (#1023)

Summary:
- When Folly supported autotools builds, a different include for
  `dwarf.h` was required in `folly/experimental/symbolizer/Dwarf.cpp`.
- Since Folly does not support autotools  builds as of `1d58fd57`, cut
  this include and just assume `<dwarf.h>` works.
Pull Request resolved: https://github.com/facebook/folly/pull/1023

Reviewed By: simpkins

Differential Revision: D14119901

Pulled By: yfeldblum

fbshipit-source-id: f676f72ec91e25390cb3bbbe544de7cbc68e1d73
parent 69e54672
...@@ -18,13 +18,7 @@ ...@@ -18,13 +18,7 @@
#include <type_traits> #include <type_traits>
// We can delete this #if check once we completely deprecate and remove #include <dwarf.h>
// the autoconf build.
#if __has_include(<libdwarf/dwarf.h>)
#include <libdwarf/dwarf.h>
#else
#include <dwarf.h> // @manual
#endif
namespace folly { namespace folly {
namespace symbolizer { namespace symbolizer {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment