From: Micah Cowan Date: Mon, 4 Aug 2008 05:08:07 +0000 (-0700) Subject: #include wget.h, not config.h. X-Git-Tag: v1.13~416 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=90a2d106cd5ed579cf86136cb34814427b3f33a3 #include wget.h, not config.h. --- diff --git a/src/ChangeLog b/src/ChangeLog index 73e9bd3f..e1ee6082 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-08-03 Micah Cowan + + * build_info.c, css-url.c: #include wget.h, not config.h. + 2008-08-03 Steven Schubiger * url.c, url.h (url_error): Better messages for unsupported diff --git a/src/build_info.c b/src/build_info.c index e330b653..ee843ce9 100644 --- a/src/build_info.c +++ b/src/build_info.c @@ -30,7 +30,7 @@ Corresponding Source for a non-source form of such a combination shall include the source code for the parts of OpenSSL used as well as that of the covered work. */ -#include "config.h" +#include "wget.h" #include char *system_wgetrc = SYSTEM_WGETRC; diff --git a/src/css-url.c b/src/css-url.c index 42c8fc3e..79bbc9e1 100644 --- a/src/css-url.c +++ b/src/css-url.c @@ -37,7 +37,7 @@ so, delete this exception statement from your version. */ a browser would ignore. That might merit some more investigation. */ -#include +#include #include #ifdef HAVE_STRING_H diff --git a/src/snprintf.c b/src/snprintf.c index f458981a..2f2698be 100644 --- a/src/snprintf.c +++ b/src/snprintf.c @@ -87,9 +87,7 @@ * **************************************************************/ -#ifdef HAVE_CONFIG_H -# include -#endif +#include "wget.h" /* For testing purposes, always compile in the code. */ #ifdef TEST_SNPRINTF