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

This commit is contained in:
kleink 2005-03-17 20:51:00 +00:00
parent 54e5574ccd
commit 08c05709a3
1 changed files with 7 additions and 1 deletions

View File

@ -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 @@ void realtimerexpire(void *);
#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)