summaryrefslogtreecommitdiffstats
path: root/avahi-common/alternative.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-common/alternative.h')
-rw-r--r--avahi-common/alternative.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/avahi-common/alternative.h b/avahi-common/alternative.h
index 3aed5b2..13620ff 100644
--- a/avahi-common/alternative.h
+++ b/avahi-common/alternative.h
@@ -24,6 +24,10 @@
#include <glib.h>
+#include <avahi-common/cdecl.h>
+
+AVAHI_C_DECL_BEGIN
+
/** Find an alternative for the specified host name. If called with an
* original host name, "2" is appended, Afterwards the number is
* increased on each call. (i.e. "foo" becomes "foo2" becomes "foo3"
@@ -36,4 +40,6 @@ gchar *avahi_alternative_host_name(const gchar *s);
"foo #3" and so on.)*/
gchar *avahi_alternative_service_name(const gchar *s);
+AVAHI_C_DECL_END
+
#endif