[build] fix for backward

This commit is contained in:
Timothy Stack 2021-05-24 21:58:21 -07:00
parent 108dc1b77a
commit a8e7a69c49
1 changed files with 7 additions and 0 deletions

View File

@ -238,6 +238,13 @@
#include <dwarf.h>
#include <elfutils/libdw.h>
#include <elfutils/libdwfl.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#include <dlfcn.h>
#undef _GNU_SOURCE
#else
#include <dlfcn.h>
#endif
#endif
#if BACKWARD_HAS_DWARF == 1