Index: native_client_sdk/src/libraries/third_party/newlib-extras/netinet/in.h |
diff --git a/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/in.h b/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/in.h |
index c66ad5155b180f2cb240454ebb0d02a04c898762..a0cd05cdc181fc1f54129491e248d2e268fadcd9 100644 |
--- a/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/in.h |
+++ b/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/in.h |
@@ -562,4 +562,11 @@ char *inet_ntoa_r(struct in_addr ina, char *buf); /* in libkern */ |
#include <netinet6/in6.h> |
#undef __KAME_NETINET_IN_H_INCLUDED_ |
+__BEGIN_DECLS |
+uint32_t htonl(uint32_t hostlong); |
+uint16_t htons(uint16_t hostshort); |
+uint32_t ntohl(uint32_t networklong); |
+uint16_t ntohs(uint16_t networkshort); |
+__END_DECLS |
+ |
#endif /* !_NETINET_IN_H_*/ |