aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index fa28b9bc..0ca57cb3 100644
--- a/driver.c
+++ b/driver.c
@@ -36,7 +36,13 @@
#endif
#include <netdb.h>
#ifdef HAVE_PKG_hesiod
+#ifdef __cplusplus
+extern "C" {
+#endif
#include <hesiod.h>
+#ifdef __cplusplus
+}
+#endif
#endif
#include <langinfo.h>