From 78b8b61b214051255d69348c192d764f29be3c70 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 11 Dec 2010 12:03:15 +0100 Subject: Allow linking Hesiod on Fedora 14 when compiled with g++. --- driver.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'driver.c') diff --git a/driver.c b/driver.c index fa28b9bc..0ca57cb3 100644 --- a/driver.c +++ b/driver.c @@ -36,7 +36,13 @@ #endif #include #ifdef HAVE_PKG_hesiod +#ifdef __cplusplus +extern "C" { +#endif #include +#ifdef __cplusplus +} +#endif #endif #include -- cgit v1.2.3