mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-24 04:34:19 +01:00
http: fix build with lws 1.7
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
#include "server.h"
|
||||
#include "utils.h"
|
||||
|
||||
#if LWS_LIBRARY_VERSION_MAJOR < 2
|
||||
#define HTTP_STATUS_FOUND 302
|
||||
#endif
|
||||
|
||||
enum { AUTH_OK, AUTH_FAIL, AUTH_ERROR };
|
||||
|
||||
static char *html_cache = NULL;
|
||||
|
||||
Reference in New Issue
Block a user