Revision 03ff3ca3 qemu_socket.h
b/qemu_socket.h | ||
---|---|---|
14 | 14 |
#define EINTR WSAEINTR |
15 | 15 |
#define EINPROGRESS WSAEINPROGRESS |
16 | 16 |
|
17 |
int inet_aton(const char *cp, struct in_addr *ia); |
|
18 |
|
|
17 | 19 |
#else |
18 | 20 |
|
19 | 21 |
#include <sys/socket.h> |
20 | 22 |
#include <netinet/in.h> |
21 | 23 |
#include <netinet/tcp.h> |
24 |
#include <arpa/inet.h> |
|
25 |
#include <netdb.h> |
|
22 | 26 |
#include <sys/un.h> |
23 | 27 |
|
24 | 28 |
#define socket_error() errno |
Also available in: Unified diff