diff --git a/lib/config-win32.h b/lib/config-win32.h
index d6665896d0df7a1ad27e2b109ee51dd19994d745..771f65d9b65ef1105a1232d7e96aca18003c7789 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -217,6 +217,9 @@
 /* Define this to if in_addr_t is not an available typedefed type */
 #define in_addr_t unsigned long
 
+/* use ioctlsocket() for non-blocking sockets */
+#define HAVE_IOCTLSOCKET
+
 /*************************************************
  * This section is for compiler specific defines.*
  *************************************************/