--- rpl/src/librpl.h 2013/09/06 10:30:56 1.43 +++ rpl/src/librpl.h 2013/10/02 07:56:42 1.45 @@ -23,8 +23,16 @@ #ifndef INCLUSION_LIBRPL #define INCLUSION_LIBRPL -unsigned char **rpl(unsigned char *script, unsigned char **rpl_home); +# ifdef __cplusplus +extern "C" +{ +# endif +unsigned char **rpl(unsigned char *script, unsigned char *rpl_home); + +# ifdef __cplusplus +} +# endif #endif // vim: ts=4