1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-25 22:46:05 +03:00

Use winsock2.h, use ws2tcpip.h for socklen_t

This commit is contained in:
Erik Ekman 2009-03-07 00:00:59 +00:00 committed by Erik Ekman
parent 54195968c7
commit 789d8f3450

View File

@ -20,7 +20,7 @@
#include <sys/types.h> #include <sys/types.h>
#ifdef WINDOWS32 #ifdef WINDOWS32
#include "windows.h" #include "windows.h"
#include <winsock.h> #include <winsock2.h>
#else #else
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif