From 90a2d106cd5ed579cf86136cb34814427b3f33a3 Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sun, 3 Aug 2008 22:08:07 -0700 Subject: [PATCH] #include wget.h, not config.h. --- src/ChangeLog | 4 ++++ src/build_info.c | 2 +- src/css-url.c | 2 +- src/snprintf.c | 4 +--- 4 files changed, 7 insertions(+), 5 deletions(-) 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 -- 2.39.2