From a25accf3413a6e42aaf40d1ba53f41364e38c56a Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 18 Jun 2010 16:16:25 +0200 Subject: [PATCH] Fixes for C++ compatibility --- frsh_error.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frsh_error.h b/frsh_error.h index b1ecb39..47e4430 100644 --- a/frsh_error.h +++ b/frsh_error.h @@ -69,6 +69,10 @@ #ifndef FRSH_ERROR_H_ #define FRSH_ERROR_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * @file frsh_error.h **/ @@ -265,4 +269,9 @@ void my_frsh_strerror(int error, char *sss); /*}*/ +#ifdef __cplusplus +} +#endif + + #endif /* !FRSH_ERROR_H_ */ -- 2.39.2