Skip to content

Commit

Permalink
Merge pull request #208 from seega/main
Browse files Browse the repository at this point in the history
fix for cygwin
  • Loading branch information
albertobsd authored May 4, 2023
2 parents beabfd6 + e123456 commit a93db93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keyhunt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions secp256k1/Random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
#if defined(_WIN64) && !defined(__CYGWIN__)
#else
#include <sys/random.h>
#endif

#ifdef __unix__
#include <linux/random.h>
#endif

Expand Down

0 comments on commit a93db93

Please sign in to comment.