commit | 099b712605b35f4c5495de6e13e3e836026aacea | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Dec 09 23:51:15 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 11:36:42 2022 +0100 |
tree | dbfc96c3106d7f2779654be194c0d693f1840463 | |
parent | 3ce107de5d7935fdb58235ff0504dee895434eca [diff] [blame] |
compat: make sure ssize_t is available Normally this comes via <sys/types.h> on POSIX, but we're faking that on MSVC via our <unistd.h> shim. Make sure it's available.
diff --git a/compat/compat.h.in b/compat/compat.h.in index 8ff7c89..3a14969 100644 --- a/compat/compat.h.in +++ b/compat/compat.h.in
@@ -21,6 +21,7 @@ #include <stdio.h> #include <sys/types.h> #include <time.h> +#include <unistd.h> #ifndef __WORDSIZE # if defined __x86_64__ && !defined __ILP32__