diff options
author | wtc%netscape.com <devnull@localhost> | 1998-09-25 23:54:51 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-09-25 23:54:51 +0000 |
commit | 2a98247d76a11de33ad05caba71909209e83d7c8 (patch) | |
tree | 0baa73a54dcf2e685e1ac3742927b0b93d849dbf | |
parent | f2aadd6e4ffa8d5067428497195e36255d224508 (diff) | |
download | nspr-hg-2a98247d76a11de33ad05caba71909209e83d7c8.tar.gz |
Include <poll.h> instead of <sys/poll.h>. Some machines don't
have <sys/poll.h>.
-rw-r--r-- | pr/include/md/_linux.h | 2 | ||||
-rw-r--r-- | pr/src/md/unix/unix.c | 2 | ||||
-rw-r--r-- | pr/src/md/unix/unix_errors.c | 2 | ||||
-rw-r--r-- | pr/src/md/unix/uxpoll.c | 2 | ||||
-rw-r--r-- | pr/src/md/unix/uxwrap.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h index c7c33ce8..4e96d367 100644 --- a/pr/include/md/_linux.h +++ b/pr/include/md/_linux.h @@ -378,7 +378,7 @@ extern PRIntervalTime _PR_UNIX_TicksPerSecond(void); #define _MD_SELECT __select #ifdef _PR_POLL_AVAILABLE -#include <sys/poll.h> +#include <poll.h> extern int __syscall_poll(struct pollfd *ufds, unsigned long int nfds, int timeout); #define _MD_POLL __syscall_poll diff --git a/pr/src/md/unix/unix.c b/pr/src/md/unix/unix.c index dd7e6d91..a61d10de 100644 --- a/pr/src/md/unix/unix.c +++ b/pr/src/md/unix/unix.c @@ -30,7 +30,7 @@ #include <sys/mman.h> #ifdef _PR_POLL_AVAILABLE -#include <sys/poll.h> +#include <poll.h> #endif /* To get FIONREAD */ diff --git a/pr/src/md/unix/unix_errors.c b/pr/src/md/unix/unix_errors.c index e080138a..21e44464 100644 --- a/pr/src/md/unix/unix_errors.c +++ b/pr/src/md/unix/unix_errors.c @@ -18,7 +18,7 @@ #include "primpl.h" #if defined(_PR_POLL_AVAILABLE) -#include <sys/poll.h> +#include <poll.h> #endif #include <errno.h> diff --git a/pr/src/md/unix/uxpoll.c b/pr/src/md/unix/uxpoll.c index a4f6b6fc..244782bf 100644 --- a/pr/src/md/unix/uxpoll.c +++ b/pr/src/md/unix/uxpoll.c @@ -25,7 +25,7 @@ #include <fcntl.h> #ifdef _PR_USE_POLL -#include <sys/poll.h> +#include <poll.h> #endif #if defined(_PR_USE_POLL) diff --git a/pr/src/md/unix/uxwrap.c b/pr/src/md/unix/uxwrap.c index 9a26c90d..a6c7cc06 100644 --- a/pr/src/md/unix/uxwrap.c +++ b/pr/src/md/unix/uxwrap.c @@ -303,7 +303,7 @@ int select(int width, fd_set *rd, fd_set *wr, fd_set *ex, struct timeval *tv) *----------------------------------------------------------------------- */ -#include <sys/poll.h> +#include <poll.h> #if defined(AIX4_1) int wrap_poll(void *listptr, unsigned long nfds, long timeout) |