diff options
author | Petr Machata <pmachata@redhat.com> | 2014-08-12 10:01:09 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:27 +0900 |
commit | 8251496f4b0efb1e84508e3c2f251281dd67be54 (patch) | |
tree | 7470a7cd7d4c18128d617e1f597c5fc562089f7c | |
parent | e5ad2101831656c7e2a5ba539a1df8a1453f2089 (diff) | |
download | ltrace-8251496f4b0efb1e84508e3c2f251281dd67be54.tar.gz ltrace-8251496f4b0efb1e84508e3c2f251281dd67be54.tar.bz2 ltrace-8251496f4b0efb1e84508e3c2f251281dd67be54.zip |
Guard a dwarf_prototypes.h include with a conditional
- Thanks to Kai Noda for reporting this.
-rw-r--r-- | proc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -36,7 +36,10 @@ #include "options.h" #include "proc.h" #include "value_dict.h" -#include "dwarf_prototypes.h" + +#if defined(HAVE_LIBDW) +# include "dwarf_prototypes.h" +#endif /* defined(HAVE_LIBDW) */ #ifndef OS_HAVE_PROCESS_DATA int |