X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fwindows%2Fposix%2Finclude%2Farpa%2Finet.h;fp=os%2Fwindows%2Fposix%2Finclude%2Farpa%2Finet.h;h=056f1dd5822a91574dde256a6823accd5d28fc03;hb=a6ab5391edbc87bdf1e5c0d218ccf7d8325a8c55;hp=30498c673a2b1f0f5ce1f666996d291b33371a03;hpb=dac7244bf482557c2e46aac1171c3890b3d9316f;p=fio.git 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 */