diff --git a/lib/connect.c b/lib/connect.c
index c81be19..38a4c25 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -14,10 +14,15 @@
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see .
*/
+
+#if defined(WIN32)
+#else
+#include
+#endif
+
#include
#include
#include
-#include
#include
#include "slist.h"
#include "iscsi.h"