Sat Jan 23 02:36:57 2016 UTC ()
Needs sys/select.h for fd_set; fails only when _POSIX_SOURCE is defined,
because then something else doesn't include it. (I guess.)


(dholland)
diff -r1.31 -r1.32 src/include/rpc/svc.h

cvs diff -r1.31 -r1.32 src/include/rpc/svc.h (expand / switch to unified diff)

--- src/include/rpc/svc.h 2016/01/23 02:34:09 1.31
+++ src/include/rpc/svc.h 2016/01/23 02:36:57 1.32
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: svc.h,v 1.31 2016/01/23 02:34:09 dholland Exp $ */ 1/* $NetBSD: svc.h,v 1.32 2016/01/23 02:36:57 dholland Exp $ */
2 2
3/* 3/*
4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 * unrestricted use provided that this legend is included on all tape 5 * unrestricted use provided that this legend is included on all tape
6 * media and as a part of the software program in whole or part. Users 6 * media and as a part of the software program in whole or part. Users
7 * may copy or modify Sun RPC without charge, but are not authorized 7 * may copy or modify Sun RPC without charge, but are not authorized
8 * to license or distribute it to anyone else except as part of a product or 8 * to license or distribute it to anyone else except as part of a product or
9 * program developed by the user. 9 * program developed by the user.
10 * 10 *
11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
12 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 12 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
13 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 13 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
14 * 14 *
@@ -32,26 +32,27 @@ @@ -32,26 +32,27 @@
32 * @(#)svc.h 1.27 94/04/25 SMI 32 * @(#)svc.h 1.27 94/04/25 SMI
33 */ 33 */
34 34
35/* 35/*
36 * svc.h, Server-side remote procedure call interface. 36 * svc.h, Server-side remote procedure call interface.
37 * 37 *
38 * Copyright (C) 1986-1993 by Sun Microsystems, Inc. 38 * Copyright (C) 1986-1993 by Sun Microsystems, Inc.
39 */ 39 */
40 40
41#ifndef _RPC_SVC_H_ 41#ifndef _RPC_SVC_H_
42#define _RPC_SVC_H_ 42#define _RPC_SVC_H_
43#include <sys/cdefs.h> 43#include <sys/cdefs.h>
44 44
 45#include <sys/select.h>
45#include <rpc/rpc_com.h> 46#include <rpc/rpc_com.h>
46 47
47/* 48/*
48 * This interface must manage two items concerning remote procedure calling: 49 * This interface must manage two items concerning remote procedure calling:
49 * 50 *
50 * 1) An arbitrary number of transport connections upon which rpc requests 51 * 1) An arbitrary number of transport connections upon which rpc requests
51 * are received. The two most notable transports are TCP and UDP; they are 52 * are received. The two most notable transports are TCP and UDP; they are
52 * created and registered by routines in svc_tcp.c and svc_udp.c, respectively; 53 * created and registered by routines in svc_tcp.c and svc_udp.c, respectively;
53 * they in turn call xprt_register and xprt_unregister. 54 * they in turn call xprt_register and xprt_unregister.
54 * 55 *
55 * 2) An arbitrary number of locally registered services. Services are 56 * 2) An arbitrary number of locally registered services. Services are
56 * described by the following four data: program number, version number, 57 * described by the following four data: program number, version number,
57 * "service dispatch" function, a transport handle, and a boolean that 58 * "service dispatch" function, a transport handle, and a boolean that