Fix typo for initializer
[awesomized/libmemcached] / poll / poll.c
index c5aa1115918a999bb2cd0810450bf2a5d2917bbf..28156d1f7bd1163116618eed9cf17584a7182ade 100644 (file)
@@ -8,10 +8,18 @@
  * Summary: Implementation of poll by using select
  *
  */
-#include "config.h"
+#include "mem_config.h"
+
+#if defined(WIN32) || defined(__MINGW32__)
+# include <winsock2.h>
+# include <ws2tcpip.h>
+#endif
+
 #include <sys/time.h>
 #include <strings.h>
 
+#include "poll/poll.h"
+
 int poll(struct pollfd fds[], nfds_t nfds, int tmo)
 {
   fd_set readfds, writefds, errorfds;