diff --git a/tirpc/rpc/svc.h b/tirpc/rpc/svc.h index 8273c95..f647095 100644 --- a/tirpc/rpc/svc.h +++ b/tirpc/rpc/svc.h @@ -88,6 +88,7 @@ enum xprt_stat { */ typedef struct __rpc_svcxprt { int xp_fd; +#define xp_sock xp_fd u_short xp_port; /* associated port number */ const struct xp_ops { /* receive incoming requests */