From 1d933c5cc092ed1c1c812c1d9783e2ae3b6fca2a Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 25 Jul 1998 09:16:46 +0000 Subject: [PATCH] add cplucplus magic git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5099 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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