diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index b2367d67f..40cc45c6b 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -108,6 +108,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + #include #if !defined(HAVE_SETSID) && defined(HAVE__SETSID) @@ -388,3 +392,7 @@ struct hostent* roken_gethostbyaddr(const void*, size_t, int); #endif void set_progname(char *argv0); + +#ifdef __cplusplus +} +#endif