summaryrefslogtreecommitdiff
path: root/src/unwind.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unwind.h')
-rw-r--r--src/unwind.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unwind.h b/src/unwind.h
index 76b6780..5089491 100644
--- a/src/unwind.h
+++ b/src/unwind.h
@@ -1,5 +1,18 @@
+#ifndef UNWIND_H_INCLUDED
+#define UNWIND_H_INCLUDED
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef __arm__
#include "unwind-arm.h"
#else
#include "unwind-itanium.h"
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif