diff options
Diffstat (limited to 'gl/arpa_inet.in.h')
-rw-r--r-- | gl/arpa_inet.in.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gl/arpa_inet.in.h b/gl/arpa_inet.in.h index 4b95b94..ac93399 100644 --- a/gl/arpa_inet.in.h +++ b/gl/arpa_inet.in.h | |||
@@ -38,6 +38,10 @@ | |||
38 | 38 | ||
39 | /* The definition of GL_LINK_WARNING is copied here. */ | 39 | /* The definition of GL_LINK_WARNING is copied here. */ |
40 | 40 | ||
41 | #ifdef __cplusplus | ||
42 | extern "C" { | ||
43 | #endif | ||
44 | |||
41 | #if @GNULIB_INET_NTOP@ | 45 | #if @GNULIB_INET_NTOP@ |
42 | # if !@HAVE_DECL_INET_NTOP@ | 46 | # if !@HAVE_DECL_INET_NTOP@ |
43 | /* Converts an internet address from internal format to a printable, | 47 | /* 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); | |||
78 | inet_pton (af, src, dst)) | 82 | inet_pton (af, src, dst)) |
79 | #endif | 83 | #endif |
80 | 84 | ||
85 | #ifdef __cplusplus | ||
86 | } | ||
87 | #endif | ||
88 | |||
81 | #endif /* _GL_ARPA_INET_H */ | 89 | #endif /* _GL_ARPA_INET_H */ |
82 | #endif /* _GL_ARPA_INET_H */ | 90 | #endif /* _GL_ARPA_INET_H */ |