1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +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 972f154a62
commit 897eb02431

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"