--- src/benchmark.c~0	2014-11-14 21:53:32.000000000 +0200
+++ src/benchmark.c	2016-10-01 19:12:58.437500000 +0300
@@ -30,7 +30,7 @@ int benchmark_must_finish = 0;
 
 #if defined _WIN32
 #include <windows.h>
-DWORD WINAPI
+static DWORD WINAPI
 alarm_handler (LPVOID lpParameter)
 {
   HANDLE wtimer = *((HANDLE *) lpParameter);
--- tests/Test_choice_ocsp.c~0	2016-04-09 08:46:43.000000000 +0300
+++ tests/Test_choice_ocsp.c	2016-10-01 19:20:14.156250000 +0300
@@ -37,7 +37,7 @@ main (int argc, char** argv)
       exit (1);
     }
 
-  fp = fopen(datafile, "r");
+  fp = fopen(datafile, "rb");
   if (fp == NULL)
     {
       printf ("error in %d\n", __LINE__);
--- tests/ocsp-basic-response.c~0	2016-04-09 08:46:43.000000000 +0300
+++ tests/ocsp-basic-response.c	2016-10-01 19:21:35.546875000 +0300
@@ -36,7 +36,7 @@ main (int argc, char** argv)
       exit (1);
     }
 
-  fp = fopen(datafile, "r");
+  fp = fopen(datafile, "rb");
   if (fp == NULL)
     {
       fprintf (stderr, "error in %d\n", __LINE__);
