diff --git a/src/RagePhotoData.h b/src/RagePhotoData.h index b120d6a..b4f9c61 100644 --- a/src/RagePhotoData.h +++ b/src/RagePhotoData.h @@ -21,6 +21,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + typedef struct RagePhotoData { char* jpeg; char* description; @@ -43,4 +47,8 @@ typedef struct RagePhotoData { uint32_t unnamedSum2; } RagePhotoData; +#ifdef __cplusplus +} +#endif // __cplusplus + #endif // RAGEPHOTODATA_H