X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=poll%2Fpoll.c;h=28156d1f7bd1163116618eed9cf17584a7182ade;hb=6b83fd5838692b71a50710b9bc13680f9c586167;hp=c5aa1115918a999bb2cd0810450bf2a5d2917bbf;hpb=14563e0f4a2840f6a038fc9fd44ae8bd48206be6;p=m6w6%2Flibmemcached diff --git a/poll/poll.c b/poll/poll.c index c5aa1115..28156d1f 100644 --- a/poll/poll.c +++ b/poll/poll.c @@ -8,10 +8,18 @@ * Summary: Implementation of poll by using select * */ -#include "config.h" +#include "mem_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;