X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=poll%2Fpoll.c;h=28156d1f7bd1163116618eed9cf17584a7182ade;hb=374cc17df9c262ed4485e84cb1ac41198c691dcf;hp=c5aa1115918a999bb2cd0810450bf2a5d2917bbf;hpb=14563e0f4a2840f6a038fc9fd44ae8bd48206be6;p=awesomized%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;