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.
This commit is contained in:
fanquake 2022-12-30 12:09:28 +00:00
parent 4dc12816ac
commit 75ec6275e6
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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>