projects
/
platform
/
upstream
/
ltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ad210
)
Guard a dwarf_prototypes.h include with a conditional
author
Petr Machata
<pmachata@redhat.com>
Tue, 12 Aug 2014 08:01:09 +0000
(10:01 +0200)
committer
Chanho Park
<chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:27 +0000
(20:38 +0900)
- Thanks to Kai Noda for reporting this.
proc.c
patch
|
blob
|
history
diff --git
a/proc.c
b/proc.c
index
91af49f
..
bf2a172
100644
(file)
--- a/
proc.c
+++ b/
proc.c
@@
-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