[bcrypt] Fix missing include on Windows

Co-authored-by: Jade Shrinemaiden <jadeshrinemaiden@gmail.com>
This commit is contained in:
dongresource 2024-10-12 15:15:36 +02:00
parent c116794c83
commit 2c822e210b

View File

@ -38,9 +38,10 @@ typedef __int64 ssize_t;
#include <wincrypt.h> /* CryptAcquireContext, CryptGenRandom */
#else
#include "bcrypt.h"
#include "ow-crypt.h"
#endif
#include "ow-crypt.h"
#define RANDBYTES (16)
static int try_close(int fd)