--- libssh-0.6.3.orig/include/libssh/libssh.h	2014-03-04 13:20:48.000000000 +0100
+++ libssh-0.6.3/include/libssh/libssh.h	2014-03-14 09:07:03.304701842 +0100
@@ -56,6 +56,7 @@
   typedef unsigned long long uint64_t;
   typedef int mode_t;
 #else /* _MSC_VER */
+  #include <sys/types.h>
   #include <unistd.h>
   #include <inttypes.h>
 #endif /* _MSC_VER */