]> sjero.net Git - wget/commitdiff
[svn] Include <sys/stat.h> before redefining stat.
authorhniksic <devnull@localhost>
Wed, 6 Jul 2005 22:42:45 +0000 (15:42 -0700)
committerhniksic <devnull@localhost>
Wed, 6 Jul 2005 22:42:45 +0000 (15:42 -0700)
windows/config-compiler.h

index 648ac50033199c37cdc306d467e9c69fb6868c0c..7ad1d12a2fb6db7135a944e79565a41a1015dce7 100644 (file)
@@ -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.  */
 
    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 <sys/stat.h> before redefining
+   stat.  */
+
+#include <sys/stat.h>
 \f
 /* -------------------- */
 /* MinGW (GCC) section. */
 \f
 /* -------------------- */
 /* MinGW (GCC) section. */