File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ AC_TYPE_UINT32_T
6969AC_TYPE_UINT8_T
7070
7171# Checks for library functions.
72- AC_CHECK_FUNCS ( [ strcasecmp strdup strerror stpncpy sleep malloc realloc getifaddrs] )
72+ AC_CHECK_FUNCS ( [ strcasecmp strdup strerror stpncpy malloc realloc getifaddrs] )
7373
7474# Check for operating system
7575AC_MSG_CHECKING ( [ for platform-specific build settings] )
Original file line number Diff line number Diff line change 5454#ifdef _WIN32
5555#include <winsock2.h>
5656#include <windows.h>
57- #ifndef HAVE_SLEEP
5857#define sleep (x ) Sleep(x*1000)
59- #endif
6058#else
6159#include <unistd.h>
6260#include <signal.h>
Original file line number Diff line number Diff line change 3737#ifdef _WIN32
3838#include <winsock2.h>
3939#include <windows.h>
40+ #ifndef _MSC_VER
41+ #include <unistd.h>
42+ #endif
4043#else
4144#include <fcntl.h>
4245#include <unistd.h>
You can’t perform that action at this time.
0 commit comments