diff --git a/src/libiir/000_TopHeader.h b/src/libiir/000_TopHeader.h index 027d784..fedd597 100644 --- a/src/libiir/000_TopHeader.h +++ b/src/libiir/000_TopHeader.h @@ -11,6 +11,10 @@ /* standard includes, or includes needed for type declarations */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* options for text editors vim: expandtab:ts=4:sw=4:syntax=c.doxygen */ diff --git a/src/libiir/999_BottomHeader.h b/src/libiir/999_BottomHeader.h index 731ec5a..f8e0f79 100644 --- a/src/libiir/999_BottomHeader.h +++ b/src/libiir/999_BottomHeader.h @@ -5,6 +5,10 @@ * License: GPLv3 */ +#ifdef __cplusplus +} +#endif + #endif /* options for text editors