aboutsummaryrefslogtreecommitdiffstats
path: root/src/resolver.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 18:58:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 20:20:51 +0100
commit5822daa63de641419dcecd19e81f1c4190bd1cce (patch)
tree3ffff03daf39eba93262d20a9c29696167c93a3b /src/resolver.h
parent4808c7ef394ff130400a1a0be42f26efa8e953eb (diff)
downloadmpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.gz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.xz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.zip
output_internal, ...: add extern "C"
Diffstat (limited to 'src/resolver.h')
-rw-r--r--src/resolver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resolver.h b/src/resolver.h
index 666b6d5b2..af14f5f23 100644
--- a/src/resolver.h
+++ b/src/resolver.h
@@ -34,6 +34,10 @@ resolver_quark(void)
return g_quark_from_static_string("resolver");
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Converts the specified socket address into a string in the form
* "IP:PORT". The return value must be freed with g_free() when you
@@ -63,4 +67,8 @@ resolve_host_port(const char *host_port, unsigned default_port,
int flags, int socktype,
GError **error_r);
+#ifdef __cplusplus
+}
+#endif
+
#endif