diff --git a/include/ChangeLog b/include/ChangeLog index bd5ff4ce1..b083e4b24 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2001-12-19 Werner Koch + + * util.h [CYGWIN32]: Allow this as an alias for MINGW32. Include + stdarg.h becuase we use the va_list type. By Disastry. + 2001-09-28 Werner Koch * cipher.h (PUBKEY_USAGE_CERT): New. diff --git a/include/util.h b/include/util.h index d8263dd0f..b690eca82 100644 --- a/include/util.h +++ b/include/util.h @@ -20,6 +20,10 @@ #ifndef G10_UTIL_H #define G10_UTIL_H +#if defined (__MINGW32__) || defined (__CYGWIN32__) +# include +#endif + #include "types.h" #include "errors.h" #include "types.h" @@ -220,7 +224,7 @@ int strcasecmp( const char *, const char *b); #define stricmp(a,b) strcasecmp( (a), (b) ) #endif -#ifdef __MINGW32__ +#if defined (__MINGW32__) || defined (__CYGWIN32__) /*-- w32reg.c --*/ char *read_w32_registry_string( const char *root, const char *dir, const char *name );