MSVC doesn't have <unistd.h>. Hence this little patch is needed:
--- Git-latest\src\tools\tor-gencert.c Tue Jan 24 17:05:52 2012 +++ src\tools\tor-gencert.c Thu Apr 26 08:51:02 2012 @@ -9,7 +9,9 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif
#include <openssl/evp.h> #include <openssl/pem.h>
---------------
--gv
On Fri, May 4, 2012 at 7:52 AM, Gisle Vanem gvanem@broadpark.no wrote:
MSVC doesn't have <unistd.h>. Hence this little patch is needed:
Applied; thanks!