aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-12-30 12:09:28 +0000
committerfanquake <fanquake@gmail.com>2023-02-17 15:01:49 +0000
commit75ec6275e6780b9ed18e271e6b24bef46d1af96d (patch)
tree79401508fa89c36dee34d272d339ab9f8fb9e014
parent4dc12816ace11eceee05c1ad24dd925f420a0bda (diff)
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.
-rw-r--r--src/random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.cpp b/src/random.cpp
index c45cf51526..9fd39e8950 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -10,7 +10,7 @@
#include <crypto/sha512.h>
#include <support/cleanse.h>
#ifdef WIN32
-#include <compat/compat.h>
+#include <windows.h>
#include <wincrypt.h>
#endif
#include <logging.h>