X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost12sum.c;h=e644a613b1285dda78f896eb4e220e8a0b287da7;hb=9d390a3369bfc121d7fe83f49c12828f0413af67;hp=b44fe3bdb601da32551796e72f7486a26a77d94c;hpb=9f87d42a5c7815f5185d9ea6b2435c969f091eff;p=openssl-gost%2Fengine.git diff --git a/gost12sum.c b/gost12sum.c index b44fe3b..e644a61 100644 --- a/gost12sum.c +++ b/gost12sum.c @@ -10,9 +10,21 @@ **********************************************************************/ #include #include +#ifdef _MSC_VER +#include "getopt.h" +# ifndef PATH_MAX +# define PATH_MAX _MAX_PATH +# endif +#include +typedef SSIZE_T ssize_t; +#else #include +#endif #include #include +#ifdef _WIN32 +# include +#endif #include #include "gosthash2012.h" #define BUF_SIZE 262144