1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

plugins: sshd: eg musl needs sys/types if available

https://github.com/warmcat/libwebsockets/issues/2477
This commit is contained in:
Jakov Smolić 2021-11-04 06:58:40 +00:00 committed by Andy Green
parent 1b7d6c80ff
commit 252890d19c

View file

@ -25,6 +25,10 @@
#if !defined(__LWS_SSH_H__)
#define __LWS_SSH_H__
#if defined(LWS_HAVE_SYS_TYPES_H)
#include <sys/types.h>
#endif
#if defined(LWS_WITH_MBEDTLS)
#include "mbedtls/sha1.h"
#include "mbedtls/sha256.h"