From 3563ed395e30114f00a4f6fe184b1c56170ce923 Mon Sep 17 00:00:00 2001 From: Christopher Mason Date: Sat, 14 Mar 2015 17:57:47 +0000 Subject: [PATCH] Added typedef USHORT so non-Windows platforms can properly compile scc_socket_driver.c. --- src/scc_socket_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scc_socket_driver.c b/src/scc_socket_driver.c index 711f663..ff0782f 100644 --- a/src/scc_socket_driver.c +++ b/src/scc_socket_driver.c @@ -40,6 +40,7 @@ extern int h_errno; #define socklen_t int #endif int g_wsastartup_called = 0; +typedef unsigned short USHORT; /* Usage: scc_socket_init() called to init socket mode */ /* At all times, we try to have a listen running on the incoming socket */