diff --git a/v2/internal/ffenestri/ffenestri.h b/v2/internal/ffenestri/ffenestri.h index 056f18ae1..59e2c4ce2 100644 --- a/v2/internal/ffenestri/ffenestri.h +++ b/v2/internal/ffenestri/ffenestri.h @@ -1,6 +1,10 @@ #ifndef __FFENESTRI_H__ #define __FFENESTRI_H__ +#ifdef __cplusplus +extern "C" { +#endif + #include struct Application; @@ -42,4 +46,8 @@ extern void UpdateTrayMenuLabel(struct Application*, const char* JSON); extern void AddContextMenu(struct Application*, char *contextMenuJSON); extern void UpdateContextMenu(struct Application*, char *contextMenuJSON); +#ifdef __cplusplus +} +#endif + #endif