diff --git a/libguile/libguile.h b/libguile/libguile.h index 8e0ef8ab5..81bb6351b 100644 --- a/libguile/libguile.h +++ b/libguile/libguile.h @@ -43,7 +43,9 @@ * If you do not wish that, delete this exception notice. */ - +#ifdef __cplusplus +extern "C" { +#endif #include "libguile/__scm.h" @@ -122,6 +124,10 @@ #include "libguile/threads.h" #endif +#ifdef __cplusplus +} +#endif + #endif /* LIBGUILEH */