Merge branch 'sprandom-log-fix' of https://github.com/tomas-winkler-sndk/fio
[fio.git] / os / windows / posix / include / arpa / inet.h
... / ...
CommitLineData
1#ifndef ARPA_INET_H
2#define ARPA_INET_H
3
4#include <ws2tcpip.h>
5#include <inttypes.h>
6
7typedef int socklen_t;
8typedef int in_addr_t;
9
10/* EAI_SYSTEM isn't used on Windows, so map it to EAI_FAIL */
11#define EAI_SYSTEM EAI_FAIL
12
13in_addr_t inet_network(const char *cp);
14
15#endif /* ARPA_INET_H */