diff --git a/mos-platform/commodore/cbm.h b/mos-platform/commodore/cbm.h index 0940cd7e4..1513c7998 100644 --- a/mos-platform/commodore/cbm.h +++ b/mos-platform/commodore/cbm.h @@ -45,6 +45,9 @@ #ifndef _CBM_H #define _CBM_H +#ifdef __cplusplus +extern "C" { +#endif /* Check for errors */ @@ -328,5 +331,9 @@ void __fastcall__ cbm_closedir (unsigned char lfn); #endif +#ifdef __cplusplus +} +#endif + /* End of cbm.h */ #endif