summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/arpa/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/windows/posix/include/arpa/inet.h')
-rw-r--r--os/windows/posix/include/arpa/inet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/windows/posix/include/arpa/inet.h b/os/windows/posix/include/arpa/inet.h
index 30498c67..056f1dd5 100644
--- a/os/windows/posix/include/arpa/inet.h
+++ b/os/windows/posix/include/arpa/inet.h
@@ -12,8 +12,10 @@ typedef int in_addr_t;
in_addr_t inet_network(const char *cp);
+#ifdef CONFIG_WINDOWS_XP
const char *inet_ntop(int af, const void *restrict src,
char *restrict dst, socklen_t size);
int inet_pton(int af, const char *restrict src, void *restrict dst);
+#endif
#endif /* ARPA_INET_H */