[ltrace-commits] 01/01: Guard a dwarf_prototypes.h include with a conditional
Petr Machata
pmachata-guest at moszumanska.debian.org
Tue Aug 12 08:01:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit c3c041f8ac92bade8cc210ee8be7762caaaa7e75
Author: Petr Machata <pmachata at redhat.com>
Date: Tue Aug 12 10:01:09 2014 +0200
Guard a dwarf_prototypes.h include with a conditional
- Thanks to Kai Noda for reporting this.
---
proc.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/proc.c b/proc.c
index 91af49f..bf2a172 100644
--- 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git
More information about the ltrace-commits
mailing list