mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
windows compatibility changes for private libwebsockets
Signed-off-by: FNA <aqiruse@gmail.com>
This commit is contained in:
parent
fd6764a1fb
commit
0bf3ef605d
1 changed files with 5 additions and 2 deletions
|
@ -18,12 +18,14 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#if _MSC_VER > 1000 || defined(_WIN32)
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -32,6 +34,7 @@
|
|||
#ifdef __MINGW64__
|
||||
#else
|
||||
#ifdef __MINGW32__
|
||||
#elif _MSC_VER > 1000 || defined(_WIN32)
|
||||
#else
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue