summaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
Diffstat (limited to 'library.h')
-rw-r--r--library.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/library.h b/library.h
index 9b687b1..82dc048 100644
--- a/library.h
+++ b/library.h
@@ -24,6 +24,10 @@
#include <stdint.h>
+#if defined(HAVE_LIBDW)
+# include <elfutils/libdwfl.h>
+#endif
+
#include "callback.h"
#include "forward.h"
#include "sysdep.h"
@@ -170,6 +174,10 @@ struct library {
struct arch_library_data arch;
struct os_library_data os;
+
+#if defined(HAVE_LIBDW)
+ Dwfl *dwfl;
+#endif
};
/* Init LIB. */