Hello, it should be useful to set declarations in headers files between : #ifdef __cplusplus extern "C" { #endif // declarations #ifdef __cplusplus } // extern "C" #endif so that including those headers in a C++ project will work directly.