From 75ec6275e6780b9ed18e271e6b24bef46d1af96d Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 30 Dec 2022 12:09:28 +0000 Subject: [PATCH] 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. --- src/random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/random.cpp b/src/random.cpp index c45cf515266..9fd39e89508 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -10,7 +10,7 @@ #include #include #ifdef WIN32 -#include +#include #include #endif #include