X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=poll%2Fpoll.c;h=d7a7d9c7d73710cb7580e40a8f4c2bf1d792e1d2;hb=7b07a66da945a8463054f9514aa50d0085d6702b;hp=c5aa1115918a999bb2cd0810450bf2a5d2917bbf;hpb=41e27ada59b0327b744272d77ed56ab8f884f271;p=awesomized%2Flibmemcached diff --git a/poll/poll.c b/poll/poll.c index c5aa1115..d7a7d9c7 100644 --- a/poll/poll.c +++ b/poll/poll.c @@ -9,9 +9,17 @@ * */ #include "config.h" + +#if defined(WIN32) || defined(__MINGW32__) +# include +# include +#endif + #include #include +#include "poll/poll.h" + int poll(struct pollfd fds[], nfds_t nfds, int tmo) { fd_set readfds, writefds, errorfds;