]> prime8.dev >> repos - ttyd.git/commitdiff
http: add missing header (#263)
authorRosen Penev <rosenp@gmail.com>
Sun, 26 Jan 2020 04:51:29 +0000 (20:51 -0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sun, 26 Jan 2020 04:51:29 +0000 (12:51 +0800)
Fixes compilation without deprecated OpenSSL APIs.

src/http.c

index 195ede22db3d6daa78c7ccf85de3b460930e48c6..3348af404006d0a94a30db28622baf09c19622c9 100644 (file)
@@ -1,5 +1,6 @@
 #include <string.h>
 #include <libwebsockets.h>
+#include <openssl/ssl.h>
 
 #include "server.h"
 #include "html.h"