projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xfreopen: new module, from coreutils
[gnulib.git]
/
lib
/
arpa_inet.in.h
diff --git
a/lib/arpa_inet.in.h
b/lib/arpa_inet.in.h
index
a790ac3
..
315d966
100644
(file)
--- a/
lib/arpa_inet.in.h
+++ b/
lib/arpa_inet.in.h
@@
-24,7
+24,9
@@
#if @HAVE_ARPA_INET_H@
#if @HAVE_ARPA_INET_H@
+# if __GNUC__ >= 3
@PRAGMA_SYSTEM_HEADER@
@PRAGMA_SYSTEM_HEADER@
+# endif
/* The include_next requires a split double-inclusion guard. */
# @INCLUDE_NEXT@ @NEXT_ARPA_INET_H@
/* The include_next requires a split double-inclusion guard. */
# @INCLUDE_NEXT@ @NEXT_ARPA_INET_H@
@@
-34,6
+36,12
@@
#ifndef _GL_ARPA_INET_H
#define _GL_ARPA_INET_H
#ifndef _GL_ARPA_INET_H
#define _GL_ARPA_INET_H
+/* 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,
#if @GNULIB_INET_NTOP@
# if !@HAVE_DECL_INET_NTOP@
/* Converts an internet address from internal format to a printable,
@@
-74,5
+82,9
@@
extern int inet_pton (int af, const char *restrict src, void *restrict dst);
inet_pton (af, src, dst))
#endif
inet_pton (af, src, dst))
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _GL_ARPA_INET_H */
#endif /* _GL_ARPA_INET_H */
#endif /* _GL_ARPA_INET_H */
#endif /* _GL_ARPA_INET_H */