[tor-dev] Win32: tor-gencert.c
Gisle Vanem
gvanem at broadpark.no
Fri May 4 11:52:24 UTC 2012
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
More information about the tor-dev
mailing list