projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218c1d2
)
Fix compilation error on mingw.
author
Bruno Haible
<bruno@clisp.org>
Mon, 21 Apr 2008 21:45:08 +0000
(23:45 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 21 Apr 2008 21:45:08 +0000
(23:45 +0200)
ChangeLog
patch
|
blob
|
history
lib/gc-gnulib.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
9266f7f
..
2be1c53
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2008-04-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/gc-gnulib.c: Include <windows.h> before <wincrypt.h>.
+
2008-04-21 Eric Blake <ebb9@byu.net>
Work around preprocessors that don't handle UINTMAX_MAX.
diff --git
a/lib/gc-gnulib.c
b/lib/gc-gnulib.c
index
eb6c403
..
fabc663
100644
(file)
--- a/
lib/gc-gnulib.c
+++ b/
lib/gc-gnulib.c
@@
-75,6
+75,7
@@
#ifdef GNULIB_GC_RANDOM
# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
+# include <windows.h>
# include <wincrypt.h>
HCRYPTPROV g_hProv = 0;
# endif