Commit | Line | Data |
---|---|---|
35922a21 BC |
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 */ |