summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc.c5
1 files changed, 4 insertions, 1 deletions
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