3272
|
1 diff -ur libgcrypt-1.5.3.orig/random/rndw32.c libgcrypt-1.5.3/random/rndw32.c |
|
2 --- libgcrypt-1.5.3.orig/random/rndw32.c 2013-10-18 11:40:06 -0400 |
|
3 +++ libgcrypt-1.5.3/random/rndw32.c 2013-10-18 11:42:15 -0400 |
|
4 @@ -78,7 +78,9 @@ |
|
5 #include <stdint.h> |
|
6 #endif |
|
7 |
|
8 +#define WIN32_LEAN_AND_MEAN |
|
9 #include <windows.h> |
|
10 +#include <winperf.h> |
|
11 |
|
12 |
|
13 #include "types.h" |
|
14 diff -ur libgcrypt-1.5.3.orig/src/ath.h libgcrypt-1.5.3/src/ath.h |
|
15 --- libgcrypt-1.5.3.orig/src/ath.h 2013-10-18 11:40:06 -0400 |
|
16 +++ libgcrypt-1.5.3/src/ath.h 2013-10-18 11:40:33 -0400 |
|
17 @@ -24,6 +24,7 @@ |
|
18 #include <config.h> |
|
19 |
|
20 #ifdef _WIN32 |
|
21 +# define WIN32_LEAN_AND_MEAN |
|
22 # include <windows.h> |
|
23 #else /* !_WIN32 */ |
|
24 # ifdef HAVE_SYS_SELECT_H |
|
25 diff -ur libgcrypt-1.5.3.orig/tests/benchmark.c libgcrypt-1.5.3/tests/benchmark.c |
|
26 --- libgcrypt-1.5.3.orig/tests/benchmark.c 2013-10-18 11:40:07 -0400 |
|
27 +++ libgcrypt-1.5.3/tests/benchmark.c 2013-10-18 11:40:33 -0400 |
|
28 @@ -25,6 +25,7 @@ |
|
29 #include <time.h> |
|
30 #include <stdarg.h> |
|
31 #ifdef _WIN32 |
|
32 +#define WIN32_LEAN_AND_MEAN |
|
33 #include <windows.h> |
|
34 #else |
|
35 #include <sys/times.h> |