7e3bfb7eb8bcfa3f86bd70a94a52c83aac0f94a8
[fio.git] / os / windows / posix / include / arpa / inet.h
1 #ifndef ARPA_INET_H
2 #define ARPA_INET_H
3
4 #include <winsock2.h>
5 #include <inttypes.h>
6
7 typedef int socklen_t;
8
9 const char *inet_ntop(int af, const void *restrict src,
10         char *restrict dst, socklen_t size);
11 int inet_pton(int af, const char *restrict src, void *restrict dst);
12
13 #endif /* ARPA_INET_H */