From 07760b357c8100172b81e7169d345834cb381ac8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Mar 2000 04:30:29 +0000 Subject: * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test, broken by 2000-02-27 change. * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros. --- sysdeps/generic/bits/poll.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/bits/poll.h b/sysdeps/generic/bits/poll.h index 68f611a428..6aaf5859aa 100644 --- a/sysdeps/generic/bits/poll.h +++ b/sysdeps/generic/bits/poll.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997,2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,6 +29,8 @@ /* Some aliases. */ #define POLLWRNORM POLLOUT +#define POLLRDNORM POLLIN +#define POLLRDBAND POLLPRI /* Event types always implicitly polled for. These bits need not be set in `events', but they will appear in `revents' to indicate the status of -- cgit v1.2.3