Linux/macOS: Add explicit include of <sys/types.h> to define ssize_t

Some systems (e.g. Alpine Linux) seems to require this.
This commit is contained in:
Mounir IDRASSI 2023-08-06 10:28:42 +02:00
parent dab261c694
commit fba1943d87
No known key found for this signature in database
GPG Key ID: FC1B00364B3FE937
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ static VC_INLINE void jent_get_nstime(uint64 *out)
#else
#include <sys/types.h>
#if CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64
/* taken from Linux kernel */