--- libssh-0.9.5.orig/include/libssh/libssh.h	2020-09-10 14:43:02.000000000 +0200
+++ libssh-0.9.5/include/libssh/libssh.h	2021-03-01 23:52:22.358253014 +0100
@@ -58,6 +58,7 @@
   typedef unsigned long long uint64_t;
   typedef int mode_t;
 #else /* _MSC_VER */
+  #include <sys/types.h>
   #include <unistd.h>
   #include <inttypes.h>
   #include <sys/types.h>