From b3ef182dbea970c39ddc548706ebd34eb4773ae3 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 13 Jul 2015 12:54:11 +0100 Subject: ipcalc: enable by default for WIN32 --- include/libbb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 @@ # endif # include # include -# undef s_addr +//# undef s_addr #else # include # 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; int xsocket(int domain, int type, int protocol) FAST_FUNC; void xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen) FAST_FUNC; void xlisten(int s, int backlog) FAST_FUNC; -void xconnect(int s, const struct sockaddr *s_addr, socklen_t addrlen) FAST_FUNC; +void xconnect(int s, const struct sockaddr *saddr, socklen_t addrlen) FAST_FUNC; ssize_t xsendto(int s, const void *buf, size_t len, const struct sockaddr *to, socklen_t tolen) FAST_FUNC; /* SO_REUSEADDR allows a server to rebind to an address that is already -- cgit v1.2.3-55-g6feb