Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include/rpc Needs sys/select.h for fd_set; fails only when _...



details:   https://anonhg.NetBSD.org/src/rev/afc94aeed9b0
branches:  trunk
changeset: 813270:afc94aeed9b0
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jan 23 02:36:57 2016 +0000

description:
Needs sys/select.h for fd_set; fails only when _POSIX_SOURCE is defined,
because then something else doesn't include it. (I guess.)

diffstat:

 include/rpc/svc.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r faa45b1004ef -r afc94aeed9b0 include/rpc/svc.h
--- a/include/rpc/svc.h Sat Jan 23 02:34:09 2016 +0000
+++ b/include/rpc/svc.h Sat Jan 23 02:36:57 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svc.h,v 1.31 2016/01/23 02:34:09 dholland Exp $        */
+/*     $NetBSD: svc.h,v 1.32 2016/01/23 02:36:57 dholland Exp $        */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -42,6 +42,7 @@
 #define _RPC_SVC_H_
 #include <sys/cdefs.h>
 
+#include <sys/select.h>
 #include <rpc/rpc_com.h>
 
 /*



Home | Main Index | Thread Index | Old Index