Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Pull in <sys/select.h> (XPG>=4.2, POSIX>=2001).



details:   https://anonhg.NetBSD.org/src/rev/b9850878a7af
branches:  trunk
changeset: 579563:b9850878a7af
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Mar 17 20:51:00 2005 +0000

description:
Pull in <sys/select.h> (XPG>=4.2, POSIX>=2001).

diffstat:

 sys/sys/time.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f304ee2aed5f -r b9850878a7af sys/sys/time.h
--- a/sys/sys/time.h    Thu Mar 17 20:48:50 2005 +0000
+++ b/sys/sys/time.h    Thu Mar 17 20:51:00 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: time.h,v 1.45 2005/02/26 22:25:34 perry Exp $  */
+/*     $NetBSD: time.h,v 1.46 2005/03/17 20:51:00 kleink Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -228,6 +228,12 @@
 #else /* !_KERNEL */
 
 #ifndef _STANDALONE
+#if (_POSIX_C_SOURCE - 0) >= 200112L || \
+    (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
+    (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
+#include <sys/select.h>
+#endif
+
 #include <time.h>
 
 #if defined(_XOPEN_SOURCE) || defined(_NETBSD_SOURCE)



Home | Main Index | Thread Index | Old Index