oops, I accidently committed a version without INFTIM at the last moment.

I'm not sure that this is the right place to put it, it is 'supposed' to
live in stropts.h.
This commit is contained in:
peter 1997-09-14 05:38:03 +00:00
parent 607688ffd6
commit bbd51b4612

View File

@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: poll.h,v 1.1 1997/09/14 02:20:56 peter Exp $
*/
#ifndef _SYS_POLL_H_
@ -70,6 +70,12 @@ struct pollfd {
#define POLLHUP 0x0010 /* file descriptor was "hung up" */
#define POLLNVAL 0x0020 /* requested events "invalid" */
/*
* Request that poll wait forever.
* XXX this is in stropts.h in SYSV, and not #included by poll.h
*/
#define INFTIM (-1)
/* XXX: logically, this should be in <poll.h>, but SVR4 at least has it here */
#ifndef KERNEL
#include <sys/cdefs.h>