#ifndef __MINGW32__ #define _GNU_SOURCE #include #include #endif #include #include "windoze.h" #include "socket.h" int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) { return socket_accept4_flags(s,ip,port,SOCKET_CLOEXEC); }