Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > > Trying to compile the crypto/gc module on mingw (cross from cygwin), I got > this compilation error: ... > This simple modification fixed it for me. OK to apply?
Hi Bruno. Yes, please do. Thanks, Simon > 2008-04-20 Bruno Haible <[EMAIL PROTECTED]> > > * lib/gc-gnulib.c: Include <windows.h> before <wincrypt.h>. > > *** lib/gc-gnulib.c.orig 2008-04-20 09:58:04.000000000 +0200 > --- lib/gc-gnulib.c 2008-04-20 09:57:50.000000000 +0200 > *************** > *** 75,80 **** > --- 75,81 ---- > > #ifdef GNULIB_GC_RANDOM > # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ > + # include <windows.h> > # include <wincrypt.h> > HCRYPTPROV g_hProv = 0; > # endif