summaryrefslogtreecommitdiffstats
path: root/ipxrelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipxrelay.c')
-rw-r--r--ipxrelay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipxrelay.c b/ipxrelay.c
index 38695fc..b80dfde 100644
--- a/ipxrelay.c
+++ b/ipxrelay.c
@@ -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;