summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-error.h')
-rw-r--r--polyp/polyplib-error.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/polyp/polyplib-error.h b/polyp/polyplib-error.h
index cb86864a..d76ce6ff 100644
--- a/polyp/polyplib-error.h
+++ b/polyp/polyplib-error.h
@@ -24,6 +24,14 @@
#include <inttypes.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const char* pa_strerror(uint32_t error);
+#ifdef __cplusplus
+}
+#endif
+
#endif