diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-11-23 19:15:22 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-11-23 19:15:22 -0800 |
commit | fc2e0ad6ea067fa80afd28840451e7183fccb403 (patch) | |
tree | a5009234c2fe8b8655fb6af3aa5b7dd8ef822fd5 /ipxrelay.c | |
parent | 389b51e0c4d920e7f8a1e2fae4d33f95a7d05208 (diff) | |
download | ipxrelay-fc2e0ad6ea067fa80afd28840451e7183fccb403.tar.gz ipxrelay-fc2e0ad6ea067fa80afd28840451e7183fccb403.tar.xz ipxrelay-fc2e0ad6ea067fa80afd28840451e7183fccb403.zip |
It really should be socklen_t; this is starting to smell a lot like
autoconf :(
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'ipxrelay.c')
-rw-r--r-- | ipxrelay.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,6 +40,7 @@ # include <winsock2.h> # include <ws2tcpip.h> # include "lib/sysexits.h" +typedef int socklen_t; #else # include <sysexits.h> # include <unistd.h> @@ -293,7 +294,7 @@ static int ipx_relay_server(int fd) char buf[65536]; } pkt; struct sockaddr from; - int fromlen; + socklen_t fromlen; int len, hlen; struct ipx_client *s, *d; |