Code

Git commit notifications via post-receive hook
[nagiosplug.git] / gl / arpa_inet.in.h
index 4b95b944fc7a9b5daaacc51afe8e7e17327ae1e2..ac933991436c5b02226bd7e2363c3c007bee4f12 100644 (file)
 
 /* The definition of GL_LINK_WARNING is copied here.  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if @GNULIB_INET_NTOP@
 # if !@HAVE_DECL_INET_NTOP@
 /* Converts an internet address from internal format to a printable,
@@ -78,5 +82,9 @@ extern int inet_pton (int af, const char *restrict src, void *restrict dst);
    inet_pton (af, src, dst))
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _GL_ARPA_INET_H */
 #endif /* _GL_ARPA_INET_H */