aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/arpa/nameser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h
index e9bf744ea4..122168c270 100644
--- a/resolv/arpa/nameser.h
+++ b/resolv/arpa/nameser.h
@@ -249,6 +249,8 @@
/* glibc always has byte order info in <endian.h> */
#include <endian.h>
+__BEGIN_DECLS
+
/*
* Structure for query header. The order of the fields is machine- and
* compiler-dependent, depending on the byte/bit order and the layout
@@ -343,4 +345,6 @@ extern u_int32_t _getlong __P((const u_char *));
(cp) += INT32SZ; \
}
+__END_DECLS
+
#endif /* arpa/nameser.h */