[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-dev] Win32: tor-gencert.c



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
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev