diff mbox

[1/3] Have dwarf.h include pthread.h

Message ID 1318520526-2874-2-git-send-email-ken.werner@linaro.org
State Accepted
Commit c01ea3f6d682facedd68ced46a60ab9d1c6192b0
Headers show

Commit Message

Ken Werner Oct. 13, 2011, 3:42 p.m. UTC
This is required for the pthread_mutex_t type that is beeing used in the
dwarf_rs_cache structure.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 include/dwarf.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/include/dwarf.h b/include/dwarf.h
index 3fe6b48..1d4f5df 100644
--- a/include/dwarf.h
+++ b/include/dwarf.h
@@ -40,6 +40,7 @@  struct dwarf_cursor;	/* forward-declaration */
 
 #include "dwarf-config.h"
 #include <link.h>
+#include <pthread.h>
 
 /* DWARF expression opcodes.  */