diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-13 12:54:11 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-13 12:54:11 +0100 |
commit | b3ef182dbea970c39ddc548706ebd34eb4773ae3 (patch) | |
tree | 6f5ec575beafeb31017d6691e0860b6930e0c4c3 /include | |
parent | 9fc98788e4fb1ea1f330d44c8b2019b3fe6444f7 (diff) | |
download | busybox-w32-b3ef182dbea970c39ddc548706ebd34eb4773ae3.tar.gz busybox-w32-b3ef182dbea970c39ddc548706ebd34eb4773ae3.tar.bz2 busybox-w32-b3ef182dbea970c39ddc548706ebd34eb4773ae3.zip |
ipcalc: enable by default for WIN32
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 |