mingw compile fix

master
leitner 13 years ago
parent b0886bc324
commit c099365ec7

@ -1,9 +1,13 @@
#include "socket.h" #include "socket.h"
#include <sys/types.h> #include <sys/types.h>
#ifndef __MINGW32__
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#endif
#include "windoze.h"
#include "socket.h"
#include <string.h> #include <string.h>
void socket_deferaccept(int s,enum defermode mode) { void socket_deferaccept(int s,enum defermode mode) {

Loading…
Cancel
Save