X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fpoll.h;h=7af737222f64386579a35b43327827ae55de8ec4;hb=abead1be6d4a303037ee65a4009c59e5b5fe0a82;hp=ace3f3aa05026691db36e58567b3c3aa85c24166;hpb=141138c41b5b1cbb74c61690c9b6dbacce4e1983;p=musl diff --git a/include/poll.h b/include/poll.h index ace3f3aa..7af73722 100644 --- a/include/poll.h +++ b/include/poll.h @@ -5,7 +5,9 @@ extern "C" { #endif -#incluce +#include + +#include #define POLLIN 0x001 #define POLLPRI 0x002 @@ -15,9 +17,14 @@ extern "C" { #define POLLNVAL 0x020 #define POLLRDNORM 0x040 #define POLLRDBAND 0x080 +#ifndef POLLWRNORM #define POLLWRNORM 0x100 #define POLLWRBAND 0x200 +#endif +#ifndef POLLMSG #define POLLMSG 0x400 +#define POLLRDHUP 0x2000 +#endif typedef unsigned long nfds_t;