mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #6736 from semarie/getentropy
GIT_RAND_GETENTROPY: do not include sys/random.h
This commit is contained in:
@@ -10,10 +10,6 @@ See <http://creativecommons.org/publicdomain/zero/1.0/>. */
|
||||
#include "rand.h"
|
||||
#include "runtime.h"
|
||||
|
||||
#if defined(GIT_RAND_GETENTROPY)
|
||||
# include <sys/random.h>
|
||||
#endif
|
||||
|
||||
#if defined(GIT_WIN32)
|
||||
# include <wincrypt.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user