Skip to content

Commit 75ec627

Browse files
committed
random: remove compat.h include
We no-longer need ssize_t. Add windows.h, which was being indirectly included via compat.h. It isn't actually included in compat.h itself, but was being included as a side-effect of other includes, like winsock2.h.
1 parent 4dc1281 commit 75ec627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/random.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <crypto/sha512.h>
1111
#include <support/cleanse.h>
1212
#ifdef WIN32
13-
#include <compat/compat.h>
13+
#include <windows.h>
1414
#include <wincrypt.h>
1515
#endif
1616
#include <logging.h>

0 commit comments

Comments
 (0)