Merge pull request #208 from seega/main

fix for cygwin
This commit is contained in:
Alberto 2023-05-04 08:22:48 -06:00 committed by GitHub
commit a93db93583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,9 @@ email: albertobsd@gmail.com
#include <unistd.h>
#include <pthread.h>
#include <sys/random.h>
#endif
#ifdef __unix__
#include <linux/random.h>
#endif

View File

@ -21,6 +21,9 @@
#if defined(_WIN64) && !defined(__CYGWIN__)
#else
#include <sys/random.h>
#endif
#ifdef __unix__
#include <linux/random.h>
#endif