summaryrefslogtreecommitdiffstats
path: root/src/include/gssrpc/svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gssrpc/svc.h')
-rw-r--r--src/include/gssrpc/svc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gssrpc/svc.h b/src/include/gssrpc/svc.h
index a5198e777..dfe0bec65 100644
--- a/src/include/gssrpc/svc.h
+++ b/src/include/gssrpc/svc.h
@@ -72,7 +72,11 @@ enum xprt_stat {
* Server side transport handle
*/
typedef struct SVCXPRT {
+#ifdef _WIN32
+ SOCKET xp_sock;
+#else
int xp_sock;
+#endif
u_short xp_port; /* associated port number */
struct xp_ops {
/* receive incomming requests */