commit | 178ff716a20ffff7e56b89d05b9708241438380a | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Dec 09 23:51:15 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Dec 16 12:12:03 2021 +0100 |
tree | dbfc96c3106d7f2779654be194c0d693f1840463 | |
parent | 8ae30ea88544159976266fef73bf9ef6ddc27e31 [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__