mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
jwk: remove unistd.h include
This commit is contained in:
parent
119aa5c0ad
commit
579ed35249
2 changed files with 2 additions and 3 deletions
|
@ -100,13 +100,14 @@ option(LWS_WITH_LATENCY "Build latency measuring code into the library" OFF)
|
|||
option(LWS_WITHOUT_DAEMONIZE "Don't build the daemonization api" ON)
|
||||
option(LWS_SSL_SERVER_WITH_ECDH_CERT "Include SSL server use ECDH certificate" OFF)
|
||||
option(LWS_WITH_LEJP "With the Lightweight JSON Parser" ON)
|
||||
option(LWS_WITH_LEJP_CONF "With LEJP configuration parser as used by lwsws" ON)
|
||||
option(LWS_WITH_SQLITE3 "Require SQLITE3 support" OFF)
|
||||
option(LWS_WITH_SMTP "Provide SMTP support" OFF)
|
||||
if (WIN32 OR LWS_WITH_ESP32)
|
||||
option(LWS_WITH_DIR "Directory scanning api support" OFF)
|
||||
option(LWS_WITH_LEJP_CONF "With LEJP configuration parser as used by lwsws" OFF)
|
||||
else()
|
||||
option(LWS_WITH_DIR "Directory scanning api support" ON)
|
||||
option(LWS_WITH_LEJP_CONF "With LEJP configuration parser as used by lwsws" ON)
|
||||
endif()
|
||||
option(LWS_WITH_NO_LOGS "Disable all logging from being compiled in" OFF)
|
||||
option(LWS_AVOID_SIGPIPE_IGN "Android 7+ reportedly needs this" OFF)
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
static const char * const kty_names[] = {
|
||||
"unknown", /* LWS_GENCRYPTO_KTY_UNKNOWN */
|
||||
"oct", /* LWS_GENCRYPTO_KTY_OCT */
|
||||
|
|
Loading…
Add table
Reference in a new issue