mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
windows: fix missing declatations for open etc
Due to windows needing nonstandard include io.h for standard apis...
This commit is contained in:
parent
52d82ad83a
commit
d286e990f0
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* libwebsockets - small server side websockets and web server implementation
|
* libwebsockets - small server side websockets and web server implementation
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010-2016 Andy Green <andy@warmcat.com>
|
* Copyright (C) 2010-2017 Andy Green <andy@warmcat.com>
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -62,6 +62,7 @@ typedef unsigned long long lws_intptr_t;
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <basetsd.h>
|
#include <basetsd.h>
|
||||||
|
#include <io.h>
|
||||||
#ifndef _WIN32_WCE
|
#ifndef _WIN32_WCE
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue