From 5039c0cc3a58f6d269ba65e8a4e2f3b8427de647 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 19 Nov 2021 15:49:12 -0500 Subject: [PATCH] fix python build --- include/olm/error.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/olm/error.h b/include/olm/error.h index 37c46d6..c91e89f 100644 --- a/include/olm/error.h +++ b/include/olm/error.h @@ -15,6 +15,8 @@ #ifndef OLM_ERROR_H_ #define OLM_ERROR_H_ +#include "olm/olm_export.h" + #ifdef __cplusplus extern "C" { #endif @@ -69,7 +71,7 @@ enum OlmErrorCode { }; /** get a string representation of the given error code. */ -const char * _olm_error_to_string(enum OlmErrorCode error); +OLM_EXPORT const char * _olm_error_to_string(enum OlmErrorCode error); #ifdef __cplusplus } // extern "C"