From 7a575d98449780a95fc4004b179a2ea0dcd0f468 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 31 Jul 2016 13:22:00 +0200 Subject: include missing Linux extension headers for poll.h This was found by Buildroot autobuilders for m68k. --- libc/sysdeps/linux/c6x/bits/poll.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/sysdeps/linux/c6x/bits') diff --git a/libc/sysdeps/linux/c6x/bits/poll.h b/libc/sysdeps/linux/c6x/bits/poll.h index 1d845ebd2..4c984cc7c 100644 --- a/libc/sysdeps/linux/c6x/bits/poll.h +++ b/libc/sysdeps/linux/c6x/bits/poll.h @@ -34,6 +34,13 @@ # define POLLWRBAND 0x100 /* Priority data may be written. */ #endif +#ifdef __USE_GNU +/* These are extensions for Linux. */ +# define POLLMSG 0x400 +# define POLLREMOVE 0x1000 +# define POLLRDHUP 0x2000 +#endif + /* 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 the file descriptor. */ -- cgit v1.2.3