diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2ac95835a..5cccbd15f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -141,7 +141,7 @@ | |||
| 141 | # endif | 141 | # endif |
| 142 | # include <winsock2.h> | 142 | # include <winsock2.h> |
| 143 | # include <ws2tcpip.h> | 143 | # include <ws2tcpip.h> |
| 144 | # undef s_addr | 144 | //# undef s_addr |
| 145 | #else | 145 | #else |
| 146 | # include <arpa/inet.h> | 146 | # include <arpa/inet.h> |
| 147 | # if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED) | 147 | # if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED) |
| @@ -571,7 +571,7 @@ char *strftime_YYYYMMDDHHMMSS(char *buf, unsigned len, time_t *tp) FAST_FUNC; | |||
| 571 | int xsocket(int domain, int type, int protocol) FAST_FUNC; | 571 | int xsocket(int domain, int type, int protocol) FAST_FUNC; |
| 572 | void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen) FAST_FUNC; | 572 | void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen) FAST_FUNC; |
| 573 | void xlisten(int s, int backlog) FAST_FUNC; | 573 | void xlisten(int s, int backlog) FAST_FUNC; |
| 574 | void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen) FAST_FUNC; | 574 | void xconnect(int s, const struct sockaddr *saddr, socklen_t addrlen) FAST_FUNC; |
| 575 | ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to, | 575 | ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to, |
| 576 | socklen_t tolen) FAST_FUNC; | 576 | socklen_t tolen) FAST_FUNC; |
| 577 | /* SO_REUSEADDR allows a server to rebind to an address that is already | 577 | /* SO_REUSEADDR allows a server to rebind to an address that is already |
