… | … | ||
---|---|---|---|
32 | #include <sys/types.h> | 32 | #include <sys/types.h> |
33 | #include <sys/uio.h> | 33 | #include <sys/uio.h> |
34 | #include <sys/socket.h> | 34 | #include <sys/socket.h> |
35 | 35 | ||
36 | #ifndef CMSG_SPACE | 36 | #ifndef CMSG_SPACE |
37 | # define CMSG_SPACE(len) (sizeof (cmsghdr) + len) | 37 | # define CMSG_SPACE(len) (sizeof (struct cmsghdr) + len) |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #ifndef CMSG_LEN | 40 | #ifndef CMSG_LEN |
41 | # define CMSG_LEN(len) (sizeof (cmsghdr) + len) | 41 | # define CMSG_LEN(len) (sizeof (struct cmsghdr) + len) |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #if defined(WIN32) | 46 | #if defined(WIN32) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |