]> sjero.net Git - wget/commitdiff
Ensure stdio.h is included.
authorGisle Vanem <gvanem@broadpark.no>
Tue, 2 Sep 2008 22:57:43 +0000 (15:57 -0700)
committerGisle Vanem <gvanem@broadpark.no>
Tue, 2 Sep 2008 22:57:43 +0000 (15:57 -0700)
src/ChangeLog
src/mswindows.h

index 8acab925089c3d1f4608a2a2a587478bd5fdc638..9aab3a4b67bdcd4c850e8d7eb976f1ec94a38e00 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-02  Gisle Vanem  <gvanem@broadpark.no>
+
+       * mswindows.h: Must ensure <stdio.h> is included before
+       we redefine ?vsnprintf().
+
 2008-08-08  Steven Schubiger  <stsc@members.fsf.org>
 
        * main.c, utils.h: Removed some dead conditional DEBUG_MALLOC code.
index 54821a7c63de203de090fa3add0466aefccf2f7d..71687278d2ab718279bf8645a1520808474ef7df 100644 (file)
@@ -78,6 +78,8 @@ as that of the covered work.  */
 # define strncasecmp strnicmp
 #endif
 
+#include <stdio.h>
+
 /* The same for snprintf() and vsnprintf().  */
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf