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