X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=windows%2Fconfig-compiler.h;h=7ad1d12a2fb6db7135a944e79565a41a1015dce7;hb=2c6515b829ff62a722efb4c270c635521c21c597;hp=806f9a437b27e19f660106a279f0551243484b35;hpb=5dac640941ba6ea32b91673b65bee6fcab266a6b;p=wget diff --git a/windows/config-compiler.h b/windows/config-compiler.h index 806f9a43..7ad1d12a 100644 --- a/windows/config-compiler.h +++ b/windows/config-compiler.h @@ -40,6 +40,11 @@ so, delete this exception statement from your version. */ Things that apply to *all* compilers, as well as things that are specific to Wget, belong in src/mswindows.h. */ + +/* For all compilers: must include before redefining + stat. */ + +#include /* -------------------- */ /* MinGW (GCC) section. */ @@ -73,8 +78,7 @@ so, delete this exception statement from your version. */ from all import libraries. */ #ifdef ENABLE_IPV6 # undef gai_strerror -# define gai_strerror windows_strerror -# endif +# define gai_strerror windows_strerror #endif /* -------------------- */